.step-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    position: relative;
}

.step-line .prefix {
    font-family: "Caudex", "Figtree", sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    color: #1d1a17;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f3f4f6;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.step-line .active {
    color: #84797b;
}

.step-line .active.prefix {
    background-color: #84797b;
    color: #ffffff;
    transform: scale(1.1);
}

.step-line .finished {
    color: #ffffff;
    background-color: #a1a1a1;
    transform: scale(0.9);
}

.step-line .step-connector {
    flex: 1;
    height: 4px;
    background-color: #d1d5db;
    position: relative;
    overflow: hidden;
}

.step-line .step-connector::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #84797b;
    transition: width 0.3s ease;
}

.step-line .active ~ .step-connector::before {
    width: 100%;
}

.lawyer-card input[type="radio"] {
    display: none;
}

.lawyer-card input[type="radio"]:checked + label {
    border: 3px solid #84797b;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lawyer-card label {
    cursor: pointer;
    display: block;
    transition: border 0.2s ease-in-out, transform 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.calendar-grid span {
    padding: 0.5rem;
    font-family: "Caudex", "Figtree", sans-serif;
    color: #1d1a17;
}

.calendar-grid .day {
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease;
    border-radius: 0.25rem;
}

.calendar-grid .day:hover:not(.disabled) {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

.calendar-grid .day input[type="radio"] {
    display: none;
}

.calendar-grid .day label {
    display: block;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-grid .day input[type="radio"]:checked + label {
    background-color: #84797b;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendar-grid .disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background-color: #f9fafb;
}

.time-slot {
    padding: 0.5rem;
    margin: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease;
}

.time-slot input[type="radio"] {
    display: none;
}

.time-slot label {
    display: block;
    padding: 0.75rem;
    cursor: pointer;
    text-align: center;
    font-family: "Caudex", "Figtree", sans-serif;
    color: #1d1a17;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease;
}

.time-slot:hover label {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

.time-slot input[type="radio"]:checked + label {
    background-color: #84797b;
    color: #ffffff;
    border-color: #84797b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.communication-method {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.communication-method input[type="radio"] {
    display: none;
}

.communication-method label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    font-family: "Caudex", "Figtree", sans-serif;
    color: #1d1a17;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
        box-shadow 0.2s ease;
}

.communication-method label:hover {
    background-color: #f3f4f6;
}

.communication-method input[type="radio"]:checked + label {
    background-color: #84797b;
    color: #ffffff;
    border-color: #84797b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.communication-method input[type="radio"]:checked + label span {
    color: white;
}

/* Additional styles for the form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1d1a17;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #1d1a17;
    background-color: #f9fafb;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #84797b;
}

.form-group input[type="file"] {
    border: none;
    background-color: transparent;
    padding: 0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.lawyer-card input[type="radio"] {
    display: none;
}

.lawyer-card input[type="radio"]:checked + label {
    border: 3px solid #84797b;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lawyer-card label {
    cursor: pointer;
    display: block;
    transition: border 0.2s ease-in-out, transform 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}
