/**
 * AgrosurCore Plugin - Minimal styles
 * Most styling is in the child theme's agrosur-custom.css
 * This file handles plugin-specific UI elements only.
 */

/* Progress bar for profile completion */
.agrosur-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.agrosur-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #23A455, #097bed);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Service limit notice */
.agrosur-service-notice {
    background-color: #e6f2fd;
    border-left: 4px solid #097bed;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    border-radius: 0 5px 5px 0;
}

.agrosur-upgrade-link {
    color: #23A455;
    font-weight: 600;
    text-decoration: underline;
}

/* Form messages */
.agrosur-form-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.agrosur-form-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Login notice */
.agrosur-login-notice {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.agrosur-login-notice a {
    color: #23A455;
    font-weight: 600;
}

/* Registration form */
.agrosur-registration-form {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.agrosur-registration-form h2 {
    color: #23A455;
    margin-bottom: 0.5rem;
}

.agrosur-form-field {
    margin-bottom: 1rem;
}

.agrosur-form-field label {
    display: block;
    font-weight: 600;
    color: #32373c;
    margin-bottom: 0.3rem;
}

.agrosur-form-field input,
.agrosur-form-field select {
    width: 100%;
    padding: 0.7rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.agrosur-form-field input:focus,
.agrosur-form-field select:focus {
    border-color: #23A455;
    outline: none;
}

.agrosur-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: normal;
}

.agrosur-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

/* Taxonomy selector in profile form */
.agrosur-taxonomy-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e6f2fd;
}

.agrosur-taxonomy-field {
    margin-bottom: 1.5rem;
}

.agrosur-taxonomy-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.agrosur-taxonomy-option {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #f8f9fa;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.agrosur-taxonomy-option:hover {
    background: #e6f2fd;
}

.agrosur-taxonomy-option input[type="checkbox"] {
    margin: 0;
}

/* Profile completion section */
.agrosur-profile-completion {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Social links in profile sidebar */
.agrosur-social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.agrosur-social-links a {
    color: #097bed;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.agrosur-social-links a:hover {
    color: #FF8500;
}
