/* Jobedia Manager Auth Styles */
.jobedia-auth-wrapper {
    max-width: 800px;
    margin: 40px auto;
}

.jobedia-auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.jobedia-tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.jobedia-tab-btn.active {
    background: #0073aa;
    color: #fff;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1);
}

/* Account Type Cards */
.account-type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.account-type-card {
    border: 2px solid #e1e1e1;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.account-type-card:hover {
    border-color: #0073aa;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.account-type-card.active {
    border-color: #0073aa;
    background: #f0f7ff;
}

.account-type-card .card-icon {
    font-size: 40px;
    color: #0073aa;
    margin-bottom: 15px;
}

.account-type-card .card-icon .dashicons {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.account-type-card h4 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.account-type-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Form Groups Layout */
.role-specific-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
}

.role-specific-section h3 {
    grid-column: 1 / -1;
}

.role-specific-section p {
    margin-bottom: 15px;
}

/* Validation styling */
.password-match-msg {
    display: block;
    font-size: 0.85rem;
    margin-top: 5px;
}

.password-match-msg.error {
    color: #dc3232;
}

.password-match-msg.success {
    color: #46b450;
}

.input-error {
    border-color: #dc3232 !important;
}

.jobedia-auth-section {
    display: none;
}

.jobedia-auth-section.active {
    display: block;
}

.jobedia-registration-container, .jobedia-login-container {
    padding: 30px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.jobedia-login-container {
    max-width: 450px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.25rem;
    border-left: 4px solid #0073aa;
    padding-left: 15px;
}

.jobedia-registration-container p, .jobedia-login-container p {
    margin-bottom: 18px;
}

.jobedia-registration-container label, .jobedia-login-container label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #555;
}

.jobedia-registration-container input[type="text"],
.jobedia-registration-container input[type="email"],
.jobedia-registration-container input[type="password"],
.jobedia-registration-container input[type="date"],
.jobedia-registration-container input[type="url"],
.jobedia-registration-container input[type="tel"],
.jobedia-registration-container input[type="number"],
.jobedia-registration-container select,
.jobedia-registration-container textarea,
.jobedia-login-container input[type="text"],
.jobedia-login-container input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.jobedia-registration-container input:focus, .jobedia-login-container input:focus {
    border-color: #0073aa;
    outline: none;
}

.jobedia-registration-container textarea {
    height: 100px;
}

.form-submit input[type="submit"], .login-submit input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form-submit input[type="submit"]:hover, .login-submit input[type="submit"]:hover {
    background-color: #005177;
}

#registration-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

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

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

/* Astra theme specific consistency */
body.ast-separate-container .jobedia-registration-container {
    background-color: #fff;
}

@media (max-width: 768px) {
    .jobedia-registration-container, .jobedia-login-container {
        margin: 20px 10px;
        padding: 20px;
    }
}
