/* ============================================
   CARD COMPONENTS
   ============================================ */

/* Phone Input Card - Premium Form Design */
.phone-input-card {
    width: 100%;
    backdrop-filter: blur(30px);
    background: linear-gradient( 135deg, var(--glass-strong) 0%, var(--glass-medium) 100% );
    border-radius: var(--px-28);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(5, 80, 89, 0.3);
    position: relative;
    overflow: hidden;
}

    .phone-input-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient( 90deg, transparent 0%, var(--hotel-accent) 50%, transparent 100% );
        opacity: 0.5;
    }

/* Card Header */
.card-header {
    text-align: center;
    margin-bottom: 0;
    position: relative;
    background: 0;
    border: 0;
}

.header-decoration {
    width: var(--px-40);
    height: var(--px-2);
    background: linear-gradient(90deg, transparent, var(--hotel-gold), transparent);
    margin: var(--px-12) auto;
}

.card-title {
    font: normal normal 700 var(--s-28);
    color: var(--hotel-accent);
    margin-bottom: var(--px-8);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-subtitle {
    font: normal normal 400 var(--s-13);
    color: rgba(254, 246, 221, 0.75);
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* Card Footer */
.card-footer {
    margin-top: var(--px-24);
    padding-top: var(--px-20);
    position: relative;
    background: 0;
    border: 0;
}

.footer-divider {
    height: var(--px-1);
    background: linear-gradient( 90deg, transparent 0%, rgba(254, 246, 221, 0.2) 50%, transparent 100% );
    margin-bottom: var(--px-16);
}

/* Room Card */
.room-card {
    background: white;
    border: 2px solid #10b98157;
    border-radius: var(--px-8);
    padding: var(--px-16);
    margin-bottom: var(--px-20);
    box-shadow: var(--shadow-soft);
}

.card-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--px-16);
    gap: 6px;
}

.header-left {
    display: flex;
    gap: var(--px-8);
    align-items: center;
}

.card-icon {
    width: var(--px-20);
    height: var(--px-20);
    color: var(--color-green);
}

.card-title-home {
    font: normal normal 500 var(--s-16);
    color: #1f2937;
    flex: 1;
    margin: 0;
}

/* Room Card - Reservation Status */
.room-card-reservation {
    background: white;
    border: 2px solid #dbeafe;
    border-radius: var(--px-8);
    padding: var(--px-16);
    margin-bottom: var(--px-20);
    box-shadow: var(--shadow-soft);
}

/* Room Actions */
.room-actions {
    display: flex;
    gap: var(--px-8);
    margin-top: var(--px-16);
}

.checkin-actions {
    display: flex;
    gap: var(--px-8);
    margin-top: var(--px-16);
}

/* Rewards & Coupons Card */
.rewards-card,
.refer-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--px-8);
    padding: var(--px-16);
    margin-bottom: var(--px-20);
    box-shadow: var(--shadow-soft);
}

.rewards-content,
.refer-content {
    padding: var(--px-16);
    background: #fffcef;
    border: 1px solid #fde68a;
    border-radius: var(--px-8);
    display: flex;
    gap: var(--px-12);
}

.rewards-icon,
.refer-icon {
    width: var(--px-24);
    height: var(--px-24);
    color: #f59e0b;
    flex-shrink: 0;
}

.rewards-title,
.refer-title {
    font: normal normal 600 var(--s-14);
    color: #1f2937;
    margin-bottom: var(--px-4);
}

.rewards-description,
.refer-description {
    font: normal normal 400 var(--s-13);
    color: #4b5563;
    margin-bottom: var(--px-12);
    line-height: 1.5;
}

/* Rewards Coupons Card */
.rewards-coupons-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--px-8);
    padding: var(--px-16);
    margin-bottom: var(--px-20);
    box-shadow: var(--shadow-soft);
}

.rewards-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--px-16);
}

.rewards-header-left {
    display: flex;
    align-items: center;
    gap: var(--px-8);
}

    .rewards-header-left h2 {
        font: normal normal 600 var(--s-16);
        color: #1f2937;
        margin: 0;
    }

/* Refer Card - Has Account Version */
.refer-card-account {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--px-8);
    padding: var(--px-16);
    margin-bottom: var(--px-20);
    box-shadow: var(--shadow-soft);
}

    .refer-card-account .rewards-header {
        margin-bottom: var(--px-16);
    }

/* Coupon Card */
.coupon-card {
    border: 1px solid #e5e7eb;
    border-radius: var(--px-8);
    padding: var(--px-12);
    position: relative;
}

.coupon-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: var(--px-4);
    gap: 8px;
}

.coupon-title {
    font: normal normal 600 var(--s-14);
    color: #1f2937;
}

.coupon-description {
    font: normal normal 400 var(--s-12);
    color: #6b7280;
    margin-bottom: var(--px-4);
}

.coupon-validity {
    font: normal normal 400 var(--s-11);
    color: #9ca3af;
    margin-bottom: var(--px-8);
}

.coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--px-8);
    border-top: 1px solid #f3f4f6;
    /*position: absolute;
    bottom: var(--px-12);
    right: var(--px-12);*/
}

.coupon-code-wrapper {
    display: flex;
    align-items: center;
}

.coupon-code-label {
    font: normal normal 500 var(--s-11);
    color: #6b7280;
    margin-right: var(--px-4);
}

.coupon-code {
    font-family: monospace;
    font: normal normal 800 var(--s-13);
    color: #1f2937;
}

/* Hotel Card */
.hotel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
}

    .hotel-card:hover {
        background: #f3f4f6;
        border-color: var(--hotel-primary-light);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.hotel-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: auto;
}

.hotel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-info {
    flex: 1;
}

.hotel-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.location-icon {
    width: 16px;
    height: 16px;
}

.hotel-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hotel-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.hotel-card:hover .hotel-arrow {
    color: var(--bs-main);
}
