/* Costa Coffee Gift Cards Maintenance Page Styles */
/* Extracted from maintenance.aspx for better organization and caching */

/* Costa Coffee Font Definitions */
@font-face {
    font-family: CostaText;
    src: url("../../Font/CostaText-Regular.woff2") format("woff2");
    font-weight: 400;
}
@font-face {
    font-family: CostaText;
    src: url("../../Font/CostaText-Light.woff2") format("woff2");
    font-weight: 100;
}
@font-face {
    font-family: CostaText;
    src: url("../../Font/CostaText-Bold.woff2") format("woff2");
    font-weight: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: CostaText, Arial, sans-serif;
    background: linear-gradient(135deg, #6d1f37 0%, #b51144 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
    color: rgb(64, 64, 66);
    overflow-x: hidden;
}

.maintenance-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(109, 31, 55, 0.2);
    padding: 60px 40px;
    text-align: center;
    max-width: 656px;
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.maintenance-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #6d1f37 0%, #b51144 100%);
}

.maintenance-icon {
    font-size: 80px;
    margin-bottom: 30px;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.maintenance-icon img {
    max-width: 200px;
    height: auto;
}

h1 {
    font-family: CostaText;
    color: #6d1f37;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.maintenance-message {
    font-size: 1.2em;
    color: rgb(64, 64, 66);
    margin-bottom: 20px;
    line-height: 1.8;
    font-weight: 400;
}

.progress-indicator {
    padding: 20px;
    margin: 10px 0;
}

.progress-percentage {
    font-family: CostaText;
    font-weight: 700;
    color: #6d1f37;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #6d1f37 0%, #b51144 50%, #DF5800 100%);
    border-radius: 4px;
    animation: pulse 2s infinite;
    transition: width 0.3s ease;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.progress-text {
    font-size: 0.9em;
    color: #595657;
    font-style: italic;
}

.maintenance-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border-left: 6px solid #6d1f37;
    box-shadow: 0 4px 12px rgba(109, 31, 55, 0.1);
}

.maintenance-details h3 {
    font-family: CostaText;
    color: #6d1f37;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.4em;
}

.maintenance-schedule {
    margin-bottom: 15px;
}

.maintenance-schedule p {
    margin-bottom: 8px;
    color: #595657;
    font-size: 16px;
    line-height: 1.4;
}

.maintenance-schedule strong {
    color: #6d1f37;
    font-weight: 700;
}

.maintenance-time {
    color: #595657;
    font-style: italic;
    margin-top: 20px;
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ee7d80;
}

.contact-info h4 {
    font-family: CostaText;
    color: #6d1f37;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-links a {
    color: #6d1f37;
    text-decoration: none;
    font-weight: 700;
    margin: 0 8px;
    padding: 8px 16px;
    border: 2px solid #6d1f37;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.contact-links a:hover {
    background-color: #6d1f37;
    color: #ffffff;
    text-decoration: none;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* User Guidance Section - Costa Coffee themed */
.user-guidance {
    background: #f8f9fa;
    border-left: 6px solid #6d1f37;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 4px 12px rgba(109, 31, 55, 0.1);
}

.user-guidance h3 {
    color: #6d1f37;
    font-family: CostaText;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.user-guidance ul {
    margin: 0;
    padding-left: 20px;
}

.user-guidance li {
    margin-bottom: 8px;
    list-style-type: disc;
    color: #595657;
}

.footer-note {
    margin-top: 40px;
    font-size: 0.9em;
    color: #595657;
    font-weight: 300;
}

/* Costa Coffee specific styling */
.costa-footer {
    height: 60px;
    width: 100%;
    background: linear-gradient(135deg, #6d1f37 0%, #b51144 100%);
    margin-top: 40px;
    position: relative;
    border-radius: 0 0 20px 20px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Desktop and Large Tablets */
@media (max-width: 1024px) {
    .maintenance-container {
        max-width: 550px;
        padding: 50px 30px;
    }
    
    .user-guidance ul {
        padding-left: 15px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .maintenance-container {
        padding: 40px 20px;
        margin: 10px;
    }
    
    h1 {
        font-size: 2em;
        line-height: 1.2;
    }
    
    .maintenance-icon {
        font-size: 60px;
    }
    
    .maintenance-icon img {
        max-width: 150px;
    }
    
    .maintenance-message {
        font-size: 1.1em;
        line-height: 1.5;
    }
    
    .progress-percentage {
        font-size: 1.2em;
    }
    
    .progress-text {
        font-size: 0.8em;
    }
    
    .user-guidance, .maintenance-details {
        padding: 20px;
        margin: 20px 0;
    }
    
    .contact-links a {
        font-size: 0.8em;
        padding: 8px 12px;
        margin: 5px;
        display: inline-block;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .maintenance-container {
        margin: 5px;
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .maintenance-icon {
        font-size: 50px;
    }
    
    .maintenance-icon img {
        max-width: 120px;
    }
    
    .progress-percentage {
        font-size: 1.1em;
    }
    
    .user-guidance li {
        margin-bottom: 10px;
        font-size: 0.9em;
    }
    
    .contact-links a {
        display: block;
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
}

/* Landscape tablet optimization */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .maintenance-container {
        max-width: 700px;
        padding: 40px;
    }
    
    .progress-indicator {
        margin: 25px 0;
    }
}

/* High-DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .maintenance-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        font-size: 12pt;
    }
    
    .maintenance-container {
        box-shadow: none;
        border: 1px solid #000;
        max-width: none;
        margin: 0;
        padding: 20pt;
        border-radius: 0;
    }
    
    .maintenance-container::before {
        display: none;
    }
    
    .progress-bar,
    .contact-links,
    .user-guidance {
        display: none;
    }
    
    h1 {
        font-size: 18pt;
        color: #000;
    }
    
    .maintenance-details {
        background: white;
        border: 1px solid #000;
        border-radius: 0;
        box-shadow: none;
    }
    
    .costa-footer {
        display: none;
    }
}