/* 
File: assets/style.css
---*/
.crm-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.crm-form h2 {
    margin-top: 0;
    color: #333;
}

.crm-form-group {
    margin-bottom: 15px;
}

.crm-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.crm-form-group label .required {
    color: #e74c3c;
}

.crm-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.crm-form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.crm-button {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.crm-button:hover {
    background: #2980b9;
}

.crm-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}

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

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

/* Success and error notices */
.crm-success-notice {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.crm-error-notice {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.crm-logout-link {
    color: #3498db;
    text-decoration: none;
    cursor: pointer;
}

.crm-logout-link:hover {
    text-decoration: underline;
}

.crm-user-info {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Forgot Password Link */
.crm-forgot-password-link {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.crm-forgot-password-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.crm-forgot-password-link a:hover {
    color: #ff5722;
    text-decoration: underline;
}

/* Back to Login Link */
.crm-back-to-login {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.crm-back-to-login a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.crm-back-to-login a:hover {
    color: #ff5722;
}

/* Forgot/Reset Password Form Descriptions */
.crm-forgot-description,
.crm-reset-description {
    background: #f5f5f5;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Tabbed Authentication Form Styles */
.crm-auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.crm-auth-tabs {
    display: flex;
    background: #f5f5f5;
}

.crm-tab-button {
    flex: 1;
    padding: 18px 20px;
    background: #ffffff;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.crm-tab-button svg {
    width: 24px;
    height: 24px;
}

.crm-tab-button:hover {
    background: #f9f9f9;
}

.crm-tab-button.active {
    background: #ff5722;
    color: #ffffff;
    border-bottom-color: #e64a19;
}

.crm-tab-button:first-child.active {
    background: #ff5722;
}

.crm-tab-button:last-child.active {
    background: #ff5722;
}

.crm-tab-content {
    padding: 30px;
    display: none;
}

.crm-tab-content.active {
    display: block;
}

.crm-auth-container .crm-form {
    background: transparent;
    padding: 0;
    margin: 0;
}

.crm-auth-container .crm-form-group input {
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
}

.crm-auth-container .crm-form-group input:focus {
    background: #ffffff;
    border-color: #ff5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.crm-auth-container .crm-button {
    background: #ff5722;
    padding: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.crm-auth-container .crm-button:hover {
    background: #e64a19;
}

.crm-auth-container .crm-form-group label {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

/* Responsive design */
@media (max-width: 600px) {
    .crm-auth-container {
        margin: 0 15px;
    }
    
    .crm-tab-button {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .crm-tab-button svg {
        width: 20px;
        height: 20px;
    }
    
    .crm-tab-content {
        padding: 20px 15px;
    }
}