/* ===========================
   CONTAINER CARD
=========================== */
.cr-card-modern {
    max-width: 480px;
    margin: 25px auto;
    padding: 24px 26px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    font-family: "Inter", Arial, sans-serif;
}

.cr-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cr-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 22px;
}

/* ===========================
   FIELD
=========================== */
.cr-field-modern {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.cr-field-modern label {
    font-size: 13px;
    color: #555;
}

.cr-field-modern input,
.cr-field-modern textarea {
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fafafa;
    transition: .2s;
}

.cr-field-modern input:focus,
.cr-field-modern textarea:focus {
    border-color: #1a73e8;
    background: white;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
    outline: none;
}

/* ===========================
   SWITCH
=========================== */
.cr-switch-row-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.cr-switch-modern {
    position: relative;
    width: 46px;
    height: 26px;
}

.cr-switch-modern input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cr-slider-modern {
    position: absolute;
    cursor: pointer;
    inset: 0;
    border-radius: 26px;
    background: #dadce0;
    transition: .3s;
}

.cr-slider-modern::before {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: .3s;
}

.cr-switch-modern input:checked + .cr-slider-modern {
    background: #1a73e8;
}

.cr-switch-modern input:checked + .cr-slider-modern::before {
    transform: translateX(20px);
}

.cr-switch-label-modern {
    font-size: 15px;
}

/* ===========================
   AUTOCOMPLETE
=========================== */
.cr-location-wrapper {
    position: relative;
}

.cr-autocomplete-modern {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    z-index: 200;
}

.cr-result-modern {
    padding: 12px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: .15s;
}

.cr-result-modern:hover {
    background: #f6f6f6;
}

/* ===========================
   BUTTON
=========================== */
.cr-btn-modern {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: #1a73e8;
    color: white;
    font-size: 15px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.cr-btn-modern:hover {
    background: #1667cf;
}

/* ===========================
   MESSAGE
=========================== */
.cr-msg-modern {
    margin-top: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #1a73e8;
}