/* Portfolio Download Modal Styles */
.satnet-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.satnet-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.satnet-modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.satnet-modal-close:hover,
.satnet-modal-close:focus {
    color: #000;
}

.satnet-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.satnet-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.satnet-modal-header p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.satnet-modal-body {
    padding: 30px;
}

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

#satnet-portfolio-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

#satnet-portfolio-form .required {
    color: #dc3545;
}

#satnet-portfolio-form input[type="text"],
#satnet-portfolio-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#satnet-portfolio-form input[type="text"]:focus,
#satnet-portfolio-form input[type="email"]:focus {
    outline: none;
    border-color: #4CAF50;
}

#satnet-portfolio-form .checkbox-label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

#satnet-portfolio-form input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

#satnet-portfolio-form .submit-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

#satnet-portfolio-form .submit-btn:hover {
    background-color: #45a049;
}

#satnet-portfolio-form .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-message {
    margin: 15px 0;
    padding: 12px;
    border-radius: 4px;
    display: none;
    font-size: 14px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Multi-step form styles */
.form-step {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.form-step.active {
    display: block;
}

.form-step.inactive {
    display: none;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Verification form specific styles */
#satnet-verification-form .form-group {
    margin-bottom: 20px;
}

#satnet-verification-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

#satnet-verification-form .required {
    color: #dc3545;
}

#satnet-verification-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 8px;
    font-weight: 600;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

#satnet-verification-form input[type="text"]:focus {
    outline: none;
    border-color: #ccb892;
    box-shadow: 0 0 0 3px rgba(204, 184, 146, 0.1);
}

#satnet-verification-form .submit-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #ccb892;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#satnet-verification-form .submit-btn:hover {
    background-color: #b4965e;
    box-shadow: 0 4px 12px rgba(204, 184, 146, 0.3);
}

#satnet-verification-form .submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Verification info section */
.verification-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.verification-info svg {
    margin-bottom: 15px;
}

.verification-info p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.verification-info .user-email {
    font-weight: 600;
    color: #ccb892;
    font-size: 16px;
    word-break: break-all;
}

/* Form actions (links) */
.form-actions {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.link-btn {
    display: block;
    color: #ccb892;
    text-decoration: none;
    font-size: 13px;
    margin: 8px 0;
    transition: color 0.3s;
}

.link-btn:hover {
    color: #b4965e;
    text-decoration: underline;
}

/* Form help text */
.form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

/* Update submit button for email form */
#satnet-portfolio-form .submit-btn {
    background-color: #ccb892;
}

#satnet-portfolio-form .submit-btn:hover {
    background-color: #b4965e;
    box-shadow: 0 4px 12px rgba(204, 184, 146, 0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .satnet-modal-content {
        margin: 10% 15px;
        max-width: none;
    }

    .satnet-modal-header {
        padding: 20px;
    }

    .satnet-modal-body {
        padding: 20px;
    }

    .satnet-modal-header h2 {
        font-size: 20px;
    }

    #satnet-verification-form input[type="text"] {
        font-size: 16px;
        letter-spacing: 5px;
    }

    .verification-info {
        padding: 15px;
    }
}
