/**
 * NLL Public Styles
 *
 * @package NLL_Admin
 */

/* Registration Form */
.nll-registration-form {
    max-width: 600px;
    margin: 0 auto;
}

.nll-form-step {
    display: none;
}

.nll-form-step.active {
    display: block;
}

.nll-form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

.nll-form-progress li {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f0f0f0;
    margin-right: 2px;
    position: relative;
}

.nll-form-progress li:last-child {
    margin-right: 0;
}

.nll-form-progress li.active {
    background: #2271b1;
    color: #fff;
}

.nll-form-progress li.completed {
    background: #00a32a;
    color: #fff;
}

/* Form Fields */
.nll-field {
    margin-bottom: 20px;
}

.nll-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.nll-field input[type="text"],
.nll-field input[type="email"],
.nll-field input[type="tel"],
.nll-field select,
.nll-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.nll-field textarea {
    min-height: 100px;
    resize: vertical;
}

.nll-field .description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.nll-field.required label::after {
    content: ' *';
    color: #d63638;
}

.nll-field.error input,
.nll-field.error select,
.nll-field.error textarea {
    border-color: #d63638;
}

.nll-field .error-message {
    color: #d63638;
    font-size: 14px;
    margin-top: 5px;
}

/* Checkbox Groups */
.nll-checkbox-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.nll-checkbox-list label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Buttons */
.nll-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nll-btn-primary {
    background: #2271b1;
    color: #fff;
}

.nll-btn-primary:hover {
    background: #135e96;
    color: #fff;
}

.nll-btn-secondary {
    background: #f0f0f0;
    color: #2c3338;
}

.nll-btn-secondary:hover {
    background: #dcdcde;
}

.nll-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Profile View */
.nll-profile {
    max-width: 800px;
    margin: 0 auto;
}

.nll-profile-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
}

.nll-profile-section h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.nll-profile-field {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.nll-profile-field:last-child {
    border-bottom: none;
}

.nll-profile-label {
    width: 180px;
    font-weight: 600;
    color: #666;
}

.nll-profile-value {
    flex: 1;
}

/* Evaluation Form */
.nll-evaluation-form {
    max-width: 600px;
    margin: 0 auto;
}

.nll-rating-field {
    margin-bottom: 20px;
}

.nll-rating-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.nll-rating-stars {
    display: flex;
    gap: 5px;
}

.nll-rating-stars input {
    display: none;
}

.nll-rating-stars label {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.nll-rating-stars input:checked ~ label,
.nll-rating-stars label:hover,
.nll-rating-stars label:hover ~ label {
    color: #f0b429;
}

/* Timetable */
.nll-timetable {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.nll-timetable th,
.nll-timetable td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.nll-timetable th {
    background: #f0f0f0;
    font-weight: 600;
}

.nll-timetable tr:nth-child(even) {
    background: #f9f9f9;
}

/* Messages */
.nll-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.nll-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.nll-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.nll-message-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Loading */
.nll-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .nll-form-progress {
        flex-direction: column;
    }

    .nll-form-progress li {
        margin-right: 0;
        margin-bottom: 2px;
    }

    .nll-profile-field {
        flex-direction: column;
    }

    .nll-profile-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .nll-checkbox-list {
        grid-template-columns: 1fr;
    }
}
