/* POP PANEL */

.rounded_panel.pop_panel {
	width: 700px;
	position: absolute;
	z-index: 4;
	pointer-events: none;
	display: none;
	scrollbar-width: none;
}
.rounded_panel.pop_panel::-webkit-scrollbar {
	display: none;
}
.pop_container {
	z-index: 1000;
}
.active .rounded_panel.pop_panel {
	transform: translateY(0);
	pointer-events: unset;
	display: block;
	animation: open_pop 0.3s cubic-bezier(0, 0, 0, 1.5);
}
.pop_panel .extra.input::before {
	background: #242424;
}
.pop_container .cover {
	background: #242424;
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	visibility: 0;
	opacity: 0;
	z-index: 3;
	pointer-events: none;
	transition: opacity 0.2s, visibility 0.2s;
}
.pop_container.active .cover {
	visibility: visible;
	opacity: 1;
	pointer-events: unset;
}
.pop_container.active {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
	justify-content: center;
}
@keyframes open_pop {
	from {
		transform: scale(0.7);
	} to {
		transform: scale(1);
	}
}
.extra.alert_message {
	cursor: default;
}
.pop_container.alert .pop_panel {
	box-shadow: 0 0 0 3px black;
}
.pop_container.alert .extra.button.cancel {
	display: none;
}
.pop_container.alert.with_cancel .extra.button {
	width: 50%;
	display: inline-block;
}
.pop_container.alert.with_cancel .extra.button.cancel {
	border-radius: 0 0 0 70px;
}
.pop_container.alert.with_cancel .extra.button.alert_action {
	border-radius: 0 0 70px 0;
}
.rounded_panel {
	border-radius: 70px;
	background: black;
	position: relative;
}
@media only screen and (max-width: 720px) {
	.rounded_panel {
		border-radius: 35px;
	}
	scroll.edit_connect {
		padding: 0 5px 5px;
	}
}


@media only screen and (max-width: 730px) {
	.rounded_panel.pop_panel {
		width: calc(100% - 16px);
	}
	.pop_container.alert.with_cancel .extra.button {
		width: 100%;
	}
	.pop_container.alert.with_cancel .extra.button.cancel {
		border-radius: 0;
	}
	.pop_container.alert.with_cancel .extra.button.alert_action {
		border-radius: 0 0 35px 35px;
	}

}



/* EXTRA FORMAT */

.extra {
	padding: 35px;
	position: relative;
	cursor: pointer;
	transition: background 0.2s;
}
.extra.text {
	border-bottom: 3px solid #242424;
	cursor: default;
}
.extra.text h3 {
	line-height: 25px;
}
.extra.button {
	width: 100%;
	box-sizing: border-box;
    padding: 35px;
    border: none;
    outline: none;
	background: rgba(255,255,255,0.1);
	transition: background 0.2s;
	border-radius: 0;
	overflow: hidden;
}
.extra.button h3 {
	transition: color 0.2s;
}
.extra.button.with_tiles {
	padding: 0;
	height: 91px;
	background: black;
}
.extra.button .tile {
	height: 91px;
	width: calc(100%);
	box-sizing: border-box;
	background: black;
	padding: 35px;
	transition: margin 0.3s cubic-bezier(0.9,0,0,1);
}
.extra.button .tile:nth-child(2) {
	background: #660019;
}
.extra.button::before {
	content '';
	all: unset;
}
.extra.button span.on_off::after {
	content: 'off';
}
.extra.button.active span.on_off::after {
	content: 'on';
}
.extra.button:nth-last-child(1) {
	border-radius: 0 0 70px 70px;
}
.extra.button.active .tile:nth-child(1) {
	margin-top: -91px;
}
.extra.button.main {
	background: #FF003E;
}
.extra.button.active {
	background: #3a3a3a;
	cursor: pointer;
}
.extra.button a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.extra.input {
	cursor: default;
	padding: 0;
}
.extra.input input {
	width: 100%;
    padding: 35px;
	box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    line-height: 21px;
    display: inline-block;
    letter-spacing: -0.5px;
    font-weight: 450;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    background: none;
    border: none;
    outline: none;
}
.extra::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	transition: background 0.2s;
	height: 3px;
	background: rgba(0,0,0,0.1);
}
@media (hover:hover) {
	.extra.button:hover {
		background: rgba(255,255,255,0.15);
	}
	.extra.button.active:hover {
		background: #3a3a3a;
	}
	.extra.button.main:hover {
		background: white;
	}
	.extra.button.main:hover h3 {
		color: black;
	}
}

.pop_container.account .pop_panel .tabs {
	margin-bottom: 0;
}
.pop_container.account .pop_panel .extra.rem_me {
	border: none;
}
div[data-name='signup_repeat_pass'] {
	display: none;
}
.pop_container.account.signup div[data-name='signup_repeat_pass'] {
	display: block;
}
.pop_container.account.signup div[data-name='rem_log_toggle'] {
	display: none;
}
.pop_container.account div[data-name='main_log_button'] h3 .content::after {
	content: 'Login with Dive';
}
.pop_container.account.signup div[data-name='main_log_button'] h3 .content::after {
	content: 'Signup with Dive';
}
.pop_container.account div[data-name='main_log_button']:active {
	background: #FF003E;
}
.extra[data-name='tos'] {
	display: none;
}
.pop_container.account.signup .extra[data-name='tos'] {
	display: block;
}
.pop_container.account.active {
	position: fixed;
}
.pop_container.alert.active {
	position: fixed;
}
.pop_container.account .extra.button.main svg.long_loader {
    right: -20px;
    background: #ff003e;
}
.pop_container.account .extra.button.main.loading {
	pointer-events: none;
	transition: none;
}
.pop_container.account .extra.button.main svg.long_loader path {
    stroke: white;
}
.pop_container.account .pop_panel {
    overflow-y: scroll;
    max-height: calc(100% - 10px);
}
.extra.input button.show_password {
    border: none;
    background: black;
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100% - 3px);
    padding: 35px 25px;
    border-left: 3px solid #242424;
	cursor: pointer;
	transition: background 0.2s;
	outline: none;
}
.extra.input button.show_password div {
	margin: 0;
	color: white;
}
.extra.input.show button.show_password {
	background: #242424;
}
.extra.input.show button.show_password div::before {
	content: "\e95a";
}
scroll.security_panel .extra.input .show_password {
	background: #242424;
	border-left-color: #3a3a3a;
}
scroll.security_panel .extra.input.show .show_password {
	background: #3a3a3a;
}


@media only screen and (max-width: 720px) {
	.extra.button {
		padding: 35px 25px;
	}
	.extra.input input {
		padding: 35px 25px;
	}
	.extra.button:nth-last-child(1) {
		border-radius: 0 0 35px 35px;
		padding: 35px 25px;
	}
	.extra.text {
		padding: 35px 25px;
	}
	.extra.button .tile {
		padding: 35px 25px;
	}
}



/* ROUNDED PANEL */

.rounded_panel .tabs button {
    width: 50%;
    border: none;
    text-align: left;
    padding: 40px 35px;
    background: none;
	transition: background 0.2s;
	cursor: pointer;
}
.rounded_panel .tabs button div {
    transition: none;
}
.rounded_panel .tabs {
    margin: 0 0 5px;
	border-bottom: 3px solid white;
}
.rounded_panel .tabs button:nth-child(1) {
	border-top-left-radius: 70px;
}
.rounded_panel .tabs button:nth-child(2) {
	border-top-right-radius: 70px;
}
.rounded_panel .tabs button h3 {
	transition: color 0.2s;
}
.rounded_panel .tabs button.active {
    background: white;
	cursor: default;
}
.rounded_panel .tabs button.active h3 {
    color: black;
}
.rounded_panel .bg {
	position: absolute;
    top: 0;
    left: -15px;
    height: calc(100% + 82px);
    width: calc(100% + 30px);
    background: #242424;
    z-index: -1;
}
.tabs button h3 {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (hover:hover) {
	.rounded_panel .tabs button:hover {
		background: rgba(255,255,255,0.1);
	}
	.rounded_panel .tabs button.active:hover {
		background: white;
	}
}
@media (hover:none) {
	.rounded_panel .tabs button:active {
		background: rgba(255,255,255,0.1);
	}
	.rounded_panel .tabs button.active:active {
		background: white;
	}
}

@media only screen and (max-width: 720px) {
	.rounded_panel .tabs button:nth-child(1) {
		border-top-left-radius: 35px;
	}
	.rounded_panel .tabs button:nth-child(2) {
		border-top-right-radius: 35px;
	}
	.rounded_panel .tabs button {
		padding: 40px 25px;
	}
	.rounded_panel .bg {
		width: calc(100% + 17px);
	}
}



/* COPIED MESSAGE */

h3.copied_msg {
	position: absolute;
	padding: 4px 7px;
	background: #3a3a3a;
	border-radius: 10px;
	color: white;
	left: 28px;
	top: 10px;
	transition: opacity 0.2s 0.5s, visibility 0.2s 0.5s;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.copied h3.copied_msg {
	opacity: 1;
	transition: none;
	visibility: visible;
	animation: copied_popup 0.2s cubic-bezier(0,0,0,1);
}

@keyframes copied_popup {
	from {
		transform: translateY(10px);
	} to {
		transform: translateY(0);
	}
}


/* LONG LOADER */

svg.long_loader {
	width: 150px;
	height: 35px;
	position: absolute;
    top: 29px;
    right: -35px;
    background: white;
    padding-left: 20px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s;
}
svg.long_loader path {
	fill: none;
    stroke: black;
    stroke-width: 4px;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
    stroke-dasharray: 90;
    stroke-dashoffset: 180;
}
.extra.button svg.long_loader {
	top: 29px;
	left: unset;
    right: -35px;
}
.loading svg.long_loader {
	opacity: 1;
}
.loading svg.long_loader path {
	animation: long_loader_entrance 0.6s cubic-bezier(0.02, 0.45, 0.6, 0.69), long_loader 0.5s 0.6s infinite linear;
}
@keyframes long_loader {
	0% {
	    stroke-dasharray: 90;
	    transform: translateX(0);
	    stroke-dashoffset: 180;
	} 100% {
	    stroke-dasharray: 90;
	    transform: translateX(-152px);
	    stroke-dashoffset: 142;
	}
}
@keyframes long_loader_entrance {
	0% {
		stroke-dasharray: 158;
		stroke-dashoffset: 474;
	} 100% {
		stroke-dasharray: 90;
		stroke-dashoffset: 180;
	}
}

/* EMBED LINKS */

.embed {
	padding: 1px 7px;
	background: #ffffff30;
	cursor: pointer;
	border-radius: 5px;
	color: white;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	display: inline-block;
}
@media (hover:hover) {
	.embed:hover {
		background: white;
		color: black;
	}
}
@media (hover:none) {
	.embed:active {
		background: white;
		color: black;
	}
}
