/* Modal/Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 119, 48, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #B0B0B0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #FF7730;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 0.6s ease;
}

.popup-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.popup-subtitle {
    color: #B0B0B0;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Auth Form Styles */
.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #E5E5E5;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #E5E5E5;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FF7730;
}

.form-group input::placeholder {
    color: #808080;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, #FF7730, #FF8A50);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 119, 48, 0.3);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #FF7730;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.form-links a:hover {
    text-decoration: underline;
}

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #FF6B6B;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.success-message {
    background: rgba(81, 207, 102, 0.1);
    border: 1px solid rgba(81, 207, 102, 0.3);
    color: #51CF66;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Dashboard Styles */
.dashboard-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-label {
    color: #B0B0B0;
    font-weight: 500;
}

.info-value {
    color: #E5E5E5;
    font-weight: 600;
}

.status-active {
    color: #51CF66;
}

.status-trial {
    color: #FFD93D;
}

.status-expired {
    color: #FF6B6B;
}

.dashboard-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

/* License info styles */
.license-info {
    background: rgba(255, 119, 48, 0.1);
    border: 1px solid rgba(255, 119, 48, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.email-highlight {
    color: #FF7730;
    font-weight: 600;
}

.next-steps {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.next-steps h4 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.next-steps ol {
    margin: 0;
    padding-left: 20px;
}

.next-steps li {
    margin-bottom: 8px;
    color: #E5E5E5;
}

.next-steps code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #FF7730;
}