/* Auth Pages Styles - Signup & Login */
@import url('embedded-fonts.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2b6cb0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: #2c5282;
    font-size: 2.5rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.auth-header p {
    color: #718096;
    font-size: 1rem;
}

.auth-card h2 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

/* Form Styles */
fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

fieldset legend {
    color: #4a5568;
    font-weight: 600;
    padding: 0 10px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    color: #4a5568;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.form-group small {
    display: block;
    color: #718096;
    font-size: 0.75rem;
    margin-top: 4px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.field-status {
    display: block;
    font-size: 0.75rem;
    margin-top: 4px;
}

.field-status.success {
    color: #38a169;
}

.field-status.error {
    color: #e53e3e;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #3182ce;
}

.btn-primary:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Message Styles */
.message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.875rem;
}

.message.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.message.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #feb2b2;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    color: #718096;
    font-size: 0.875rem;
}

.auth-footer a {
    color: #4299e1;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Wider container for signup with packages */
.signup-wide {
    max-width: 650px;
}

/* Package Selection Styles */
.package-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.package-card {
    display: block;
    padding: 20px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.package-card:hover {
    border-color: #4299e1;
    background: #ebf8ff;
}

.package-card.selected {
    border-color: #4299e1;
    background: #ebf8ff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.package-card input[type="radio"] {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.3);
    accent-color: #4299e1;
}

.package-content {
    padding-right: 30px;
}

.package-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 8px;
}

.package-description {
    font-size: 0.8rem;
    color: #718096;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 600px) {
    .signup-wide {
        max-width: 100%;
    }
    
    .package-selection {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .auth-card {
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .auth-header h1 {
        font-size: 2rem;
    }
}








