.room-access {
    background: var(--white);
}

.room-access-container {
    width: 60.390vw;
}

.room-access .room-col-content {
    align-self: center;
}

.bad-input {
    border: 0.078125vw solid #d90000;
    border-radius: 0.625vw;
}

.bad-input .gray {
    color: red;
}

@media (max-width: 768px) {
    .room-access {
        padding: 4vw 3vw;
        display: block;
    }

    .racssj {
        padding-top: 1vw;
        margin-top: 3vw;
    }

    .room-access-container {
        width: 100%;
    }

    .step-two {
        display: flex;
    }

    .room-access .img-security {
        width: 15.38vw;
    }

    .room-access .regular-12.gray.mb-8 {
        height: 3vw;
    }

    .bad-input {
        border: 0.158125vw solid #d90000;
        border-radius: 1.8vw;
    }

    #toast-error,
    #toast-success {
        transform-origin: center;
        transform: translateX(-50%) scale(1.8);
        transition: all 0.3s;
    }

    #btn-reserve {
        width: 100%;
        height: 10vw;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2vw;
    }
}

@media (min-width: 1400px) {
    .room-access {
        transform: scale(0.8);
        transform-origin: top center;
        padding: 3vw 7.2vw;
        margin-bottom: -6vw;
    }
}

/* Nuevo CSS */
.step-header-component {
    font-family: "Poppins Regular";
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* Icon Section */
.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.lock-icon {
    width: 64px;
    height: 64px;
    background: #e8e6e3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lock-icon svg {
    width: 28px;
    height: 28px;
    stroke: #6b5d4f;
    fill: none;
    stroke-width: 2;
}

/* Header Text Section */
.header-content {
    text-align: center;
    margin-bottom: 32px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: #6b6b6b;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto;
}

/* Room Card */
.cabin-room-card {
    background: white;
    border-radius: 13px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e6e3;
}

.cabin-room-image {
    width: 160px;
    border-radius: 8px 0 0 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cabin-room-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding-bottom: 40px;
}

.cabin-room-selected-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    border: none;
    padding: 0;
}

.cabin-room-location {
    font-size: 13px;
    color: #6b6b6b;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.cabin-room-location::before {
    content: url('../../img/location.svg');
    font-size: 12px;
}

.cabin-room-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #6b6b6b;
}

.cabin-room-info-item {
    display: flex;
    align-items: center;
    position: relative;
}

.cabin-room-info-item::after {
    content: '•';
    position: absolute;
    right: -10px;
    color: #d0d0d0;
}

.cabin-room-info-item:last-child::after {
    display: none;
}

.cabin-room-total {
    font-weight: 600;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .icon-container {
        margin-bottom: 20px;
    }

    .lock-icon {
        width: 56px;
        height: 56px;
    }

    .lock-icon svg {
        width: 24px;
        height: 24px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
        padding: 0 16px;
    }

    .header-content {
        margin-bottom: 24px;
    }

    .cabin-room-card {
        /* padding: 16px; */
        gap: 16px;
    }

    .cabin-room-image {
        width: 120px;
        /* height: 90px; */
    }

    .cabin-room-selected-title {
        font-size: 16px;
    }

    .cabin-room-location {
        font-size: 12px;
    }

    .cabin-room-info {
        gap: 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .lock-icon {
        width: 52px;
        height: 52px;
    }

    .lock-icon svg {
        width: 22px;
        height: 22px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 13px;
    }

    .cabin-room-card {
        flex-direction: column;
        padding: 16px;
    }

    .cabin-room-image {
        width: 100%;
        height: 160px;
        border-radius: 8px;
    }

    .cabin-room-info {
        flex-direction: column;
        gap: 8px;
    }

    .cabin-room-info-item::after {
        display: none;
    }
}

@media (min-width: 1024px) {
    .step-header-component {
        max-width: 860px;
    }

    .lock-icon {
        width: 72px;
        height: 72px;
    }

    .lock-icon svg {
        width: 32px;
        height: 32px;
    }

    .step-title {
        font-size: 26px;
    }

    .step-description {
        font-size: 16px;
    }

    .cabin-room-image {
        width: 180px;
        /* height: 120px; */
    }

    .cabin-room-selected-title {
        font-size: 18px;
    }
}

/* Animation for icon */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* .lock-icon {
    animation: float 3s ease-in-out infinite;
} */

.access-code-component {
    font-family: "Poppins Regular";
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

/* Form Section */

.form-content {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    border: 1px solid #e8e6e3;
    padding: 40px 24px;
    margin-bottom: 20px;
    overflow: hidden;
}

.code-section {
    margin-bottom: 32px;
}

.code-label {
    text-align: center;
    font-size: 14px;
    color: #6b6b6b;
    margin-bottom: 16px;
    font-weight: 400;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
    position: relative;
}

.code-input {
    width: 56px;
    height: 56px;
    border: 2px solid #e8e6e3;
    border-radius: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #2d2d2d;
    background: #f9f9f9;
    transition: all 0.3s ease;
    font-family: 'Redtone', sans-serif;
}

.code-input:focus {
    outline: none;
    border-color: #6b5d4f;
    background: white;
}

.code-input.filled {
    background: white;
    border-color: #6b5d4f;
}

.code-input.error {
    border-color: #d32f2f;
    animation: shake 0.3s ease;
}

.copy-button {
    width: 40px;
    height: 40px;
    border: 2px solid #e8e6e3;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    align-self: center;
}

.copy-button:hover {
    border-color: #6b5d4f;
    background: #faf9f7;
}

.copy-button svg {
    width: 18px;
    height: 18px;
    stroke: #6b6b6b;
}

/* Validation Messages */
.validation-message {
    text-align: center;
    font-size: 13px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 20px;
}

.validation-message.error {
    color: #d32f2f;
}

.validation-message.success {
    color: #2e7d32;
}

.validation-message::before {
    font-size: 14px;
}

.validation-message.error::before {
    content: '⚠';
}

.validation-message.success::before {
    content: '✓';
}

/* Info Box */
.info-box {
    background: #F5F1ED;
    border: 1px solid #E5DDD5;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #6b6b6b;
    margin-bottom: 32px;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 16px;
}

.btn {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Redtone', sans-serif;
}

.btn-back {
    background: white;
    color: #6B7A5A;
    border: 2px solid #6B7A5A;
}

.btn-back:hover {
    border-color: #6b5d4f;
    background: #faf9f7;
}

.btn-continue {
    background: #6F6B4D;
    color: white;
    border: 2px solid #6F6B4D;
}

.btn-continue:hover {
    background: #5a4d40;
}

.btn-continue:disabled {
    background: #d0d0d0;
    border-color: #d0d0d0;
    cursor: not-allowed;
}

/* Animations */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 0;
    }

    .code-input {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .code-inputs {
        gap: 8px;
    }

    .copy-button {
        width: 36px;
        height: 36px;
    }

    .button-group {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }

    .cabin-room-details {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .code-input {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .code-inputs {
        gap: 6px;
    }

    .room-info {
        flex-direction: column;
        gap: 8px;
    }

    .room-info-item::after {
        display: none;
    }
}

@media (min-width: 1024px) {
    .access-code-component {
        max-width: 860px;
    }

    .code-input {
        width: 64px;
        height: 64px;
        font-size: 26px;
    }
}