.external-link-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
pointer-events: none;
}
.external-link-modal.active {
pointer-events: all;
}
.external-link-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0);
backdrop-filter: blur(0px);
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.external-link-modal.active .external-link-overlay {
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(10px);
}
.external-link-content {
position: relative;
background: linear-gradient(145deg, rgba(25, 28, 38, 0.98), rgba(18, 20, 28, 0.98));
border: 1px solid rgba(74, 158, 255, 0.25);
border-radius: 20px;
padding: 0;
max-width: 480px;
width: 90%;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(74, 158, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
opacity: 0;
transform: scale(0.85) translateY(40px);
transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
overflow: hidden;
}
.external-link-modal.active .external-link-content {
opacity: 1;
transform: scale(1) translateY(0);
}
.external-link-header {
background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 59, 59, 0.08));
border-bottom: 1px solid rgba(255, 107, 107, 0.2);
padding: 24px 28px;
display: flex;
align-items: center;
gap: 14px;
}
.external-link-header i {
font-size: 26px;
color: #ff6b6b;
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.8; transform: scale(1.05); }
}
.external-link-header h3 {
margin: 0;
font-size: 19px;
font-weight: 600;
color: rgba(255, 255, 255, 0.95);
letter-spacing: -0.3px;
}
.external-link-body {
padding: 28px;
}
.external-link-body > p {
margin: 0 0 20px 0;
color: rgba(255, 255, 255, 0.85);
font-size: 14.5px;
line-height: 1.6;
}
.external-link-url-box {
background: rgba(0, 0, 0, 0.4);
border: 1px solid rgba(74, 158, 255, 0.25);
border-radius: 12px;
padding: 16px;
margin-bottom: 18px;
transition: all 0.3s ease;
}
.external-link-url-box:hover {
background: rgba(0, 0, 0, 0.5);
border-color: rgba(74, 158, 255, 0.4);
}
.external-link-label {
display: block;
font-size: 10.5px;
text-transform: uppercase;
letter-spacing: 0.8px;
color: rgba(74, 158, 255, 0.9);
margin-bottom: 8px;
font-weight: 700;
}
.external-link-url {
color: rgba(255, 255, 255, 0.95);
font-size: 13px;
word-break: break-all;
font-family: 'Courier New', monospace;
line-height: 1.6;
}
.external-link-warning {
background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(255, 59, 59, 0.06));
border: 1px solid rgba(255, 107, 107, 0.25);
border-radius: 12px;
padding: 14px;
display: flex;
gap: 12px;
align-items: flex-start;
}
.external-link-warning i {
font-size: 17px;
color: #ff6b6b;
margin-top: 2px;
flex-shrink: 0;
}
.external-link-warning p {
margin: 0;
color: rgba(255, 255, 255, 0.8);
font-size: 12.5px;
line-height: 1.6;
}
.external-link-actions {
padding: 20px 28px 28px 28px;
display: flex;
gap: 12px;
justify-content: flex-end;
}
.external-link-actions button {
padding: 12px 24px;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
gap: 8px;
border: none;
position: relative;
overflow: hidden;
}
.external-link-actions button::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.external-link-actions button:hover::before {
width: 300px;
height: 300px;
}
.external-link-cancel {
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.75);
border: 1px solid rgba(255, 255, 255, 0.12);
}
.external-link-cancel:hover {
background: rgba(255, 255, 255, 0.12);
color: rgba(255, 255, 255, 0.95);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.external-link-proceed {
background: linear-gradient(135deg, #4a9eff, #357abd);
color: white;
border: 1px solid rgba(74, 158, 255, 0.4);
box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}
.external-link-proceed:hover {
background: linear-gradient(135deg, #5ba9ff, #4a9eff);
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
border-color: rgba(74, 158, 255, 0.6);
}
.external-link-actions button i {
position: relative;
z-index: 1;
}
.external-link-actions button span {
position: relative;
z-index: 1;
}
@media (max-width: 768px) {
.external-link-content {
max-width: 92%;
border-radius: 18px;
}
.external-link-header {
padding: 20px 24px;
}
.external-link-header h3 {
font-size: 17px;
}
.external-link-body {
padding: 24px;
}
.external-link-actions {
flex-direction: column-reverse;
padding: 16px 24px 24px 24px;
gap: 10px;
}
.external-link-actions button {
width: 100%;
justify-content: center;
padding: 14px 24px;
}
}
