/* cookie-consent.css */

/* COOKIE BANNER */
.cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.cookie-consent-banner.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-content {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    max-width: 700px;
    width: 100%;
    border-radius: 20px;
    padding: 35px 30px 30px 30px;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #0004ff;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.cookie-consent-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0004ff, #2575fc, #6a11cb);
}

@keyframes slideUp {
    from {
        transform: translateY(40px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.cookie-consent-text {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
}

.cookie-consent-text::-webkit-scrollbar {
    width: 6px;
}

.cookie-consent-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cookie-consent-text::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.cookie-consent-text::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.cookie-consent-text h3 {
    color: #0004ff;
    margin-bottom: 18px;
    font-size: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.cookie-consent-text p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 17px;
}

.cookie-consent-text a {
    color: #ff004c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
    color: #e00042;
}

.cookie-types {
    background: rgba(102, 126, 234, 0.08);
    border-radius: 12px;
    padding: 18px;
    margin: 22px 0;
    border-left: 4px solid #667eea;
    border-right: 1px solid #e0e7ff;
}

.cookie-type {
    padding: 10px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.cookie-type:last-child {
    border-bottom: none;
}

.cookie-type strong {
    color: #0004ff;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
}

.cookie-consent-buttons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.cookie-btn {
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    min-width: 220px;
    text-align: center;
    letter-spacing: 0.3px;
    flex: 1;
    max-width: 300px;
}

.cookie-btn-reject {
    background-color: #ffffff;
    color: #333;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cookie-btn-reject:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #b0b0b0;
}

.cookie-btn-reject:active {
    transform: translateY(-1px) scale(0.98);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #0004ff 0%, #2575fc 100%);
    color: white;
    border-color: #0004ff;
    box-shadow: 0 4px 15px rgba(0, 4, 255, 0.2);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #2575fc 0%, #0004ff 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 4, 255, 0.3);
}

.cookie-btn-accept:active {
    transform: translateY(-1px) scale(0.98);
}

.cookie-consent-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 30px;
    color: #888;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.cookie-consent-close:hover {
    background-color: rgba(255, 0, 76, 0.1);
    color: #ff004c;
    transform: rotate(90deg) scale(1.1);
}

.cookie-consent-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* ========== RESPONSIVENESS FOR ALL DEVICES ========== */

/* DESKTOPS (1025px and more) */
@media (min-width: 1025px) {
    .cookie-consent-content {
        max-width: 750px;
        padding: 40px 35px 35px 35px;
    }
    
    .cookie-btn {
        min-width: 240px;
        padding: 16px 32px;
    }
}

/* HORIZONTAL TABLETS / SMALL DESKTOPS (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .cookie-consent-content {
        max-width: 680px;
        padding: 35px 30px 30px 30px;
    }
    
    .cookie-consent-text h3 {
        font-size: 24px;
    }
    
    .cookie-consent-text p {
        font-size: 16px;
    }
    
    .cookie-btn {
        min-width: 210px;
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .cookie-types {
        padding: 16px;
    }
}

/* VERTICAL TABLETS (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .cookie-consent-content {
        max-width: 90%;
        padding: 30px 25px 25px 25px;
        border-radius: 18px;
    }
    
    .cookie-consent-text h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .cookie-consent-text p {
        font-size: 15.5px;
        margin-bottom: 14px;
    }
    
    .cookie-types {
        padding: 14px;
        margin: 18px 0;
    }
    
    .cookie-type {
        font-size: 14.5px;
        padding: 8px 0;
    }
    
    .cookie-type strong {
        min-width: 110px;
    }
    
    .cookie-consent-buttons {
        gap: 15px;
        margin-top: 22px;
    }
    
    .cookie-btn {
        min-width: 180px;
        padding: 13px 26px;
        font-size: 15.5px;
        border-radius: 10px;
    }
    
    .cookie-consent-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
}

/* LARGE PHONES / SMALL TABLETS (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .cookie-consent-content {
        max-width: 92%;
        padding: 28px 22px 22px 22px;
        border-radius: 16px;
        max-height: 85vh;
    }
    
    .cookie-consent-text h3 {
        font-size: 21px;
        margin-bottom: 15px;
        gap: 10px;
    }
    
    .cookie-consent-text p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 13px;
    }
    
    .cookie-types {
        padding: 12px 15px;
        margin: 16px 0;
        border-radius: 10px;
    }
    
    .cookie-type {
        font-size: 14px;
        padding: 7px 0;
        line-height: 1.5;
    }
    
    .cookie-type strong {
        min-width: 100px;
        display: block;
        margin-bottom: 3px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        padding-top: 18px;
    }
    
    .cookie-btn {
        min-width: 100%;
        max-width: 100%;
        padding: 14px 24px;
        font-size: 15.5px;
        border-radius: 10px;
        width: 100%;
    }
    
    .cookie-btn-reject {
        order: 2;
    }
    
    .cookie-btn-accept {
        order: 1;
    }
    
    .cookie-consent-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }
    
    .cookie-consent-banner {
        padding: 10px;
    }
}

/* MEDIUM PHONES (361px - 480px) */
@media (min-width: 361px) and (max-width: 480px) {
    .cookie-consent-content {
        max-width: 94%;
        padding: 25px 20px 20px 20px;
        border-radius: 15px;
        max-height: 88vh;
    }
    
    .cookie-consent-text h3 {
        font-size: 20px;
        margin-bottom: 14px;
        gap: 8px;
    }
    
    .cookie-consent-text p {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .cookie-types {
        padding: 10px 13px;
        margin: 14px 0;
        border-radius: 9px;
    }
    
    .cookie-type {
        font-size: 13.5px;
        padding: 6px 0;
        line-height: 1.5;
    }
    
    .cookie-type strong {
        min-width: 95px;
        display: block;
        margin-bottom: 2px;
        font-size: 14px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
        padding-top: 16px;
    }
    
    .cookie-btn {
        min-width: 100%;
        max-width: 100%;
        padding: 13px 22px;
        font-size: 15px;
        border-radius: 9px;
        width: 100%;
    }
    
    .cookie-btn-reject {
        order: 2;
    }
    
    .cookie-btn-accept {
        order: 1;
    }
    
    .cookie-consent-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    
    .cookie-consent-banner {
        padding: 8px;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    
    .cookie-consent-content::before {
        height: 3px;
    }
}

/* SMALL PHONES (321px - 360px) */
@media (min-width: 321px) and (max-width: 360px) {
    .cookie-consent-content {
        max-width: 96%;
        padding: 22px 18px 18px 18px;
        border-radius: 14px;
        max-height: 90vh;
    }
    
    .cookie-consent-text h3 {
        font-size: 19px;
        margin-bottom: 13px;
        gap: 6px;
    }
    
    .cookie-consent-text p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 11px;
    }
    
    .cookie-types {
        padding: 9px 12px;
        margin: 13px 0;
        border-radius: 8px;
    }
    
    .cookie-type {
        font-size: 13px;
        padding: 5px 0;
        line-height: 1.5;
    }
    
    .cookie-type strong {
        min-width: 90px;
        display: block;
        margin-bottom: 2px;
        font-size: 13.5px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 9px;
        margin-top: 16px;
        padding-top: 14px;
    }
    
    .cookie-btn {
        min-width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        font-size: 14.5px;
        border-radius: 8px;
        width: 100%;
    }
    
    .cookie-consent-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
    
    .cookie-consent-banner {
        padding: 6px;
    }
    
    .cookie-consent-content::before {
        height: 3px;
    }
}

/* VERY SMALL PHONES (up to 320px) */
@media (max-width: 320px) {
    .cookie-consent-content {
        max-width: 98%;
        padding: 20px 16px 16px 16px;
        border-radius: 12px;
        max-height: 92vh;
    }
    
    .cookie-consent-text h3 {
        font-size: 18px;
        margin-bottom: 12px;
        gap: 5px;
    }
    
    .cookie-consent-text p {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 10px;
    }
    
    .cookie-types {
        padding: 8px 10px;
        margin: 12px 0;
        border-radius: 7px;
    }
    
    .cookie-type {
        font-size: 12.5px;
        padding: 4px 0;
        line-height: 1.5;
    }
    
    .cookie-type strong {
        min-width: 85px;
        display: block;
        margin-bottom: 2px;
        font-size: 13px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        gap: 8px;
        margin-top: 14px;
        padding-top: 12px;
    }
    
    .cookie-btn {
        min-width: 100%;
        max-width: 100%;
        padding: 11px 18px;
        font-size: 14px;
        border-radius: 7px;
        width: 100%;
    }
    
    .cookie-consent-close {
        top: 6px;
        right: 6px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .cookie-consent-banner {
        padding: 5px;
    }
    
    .cookie-consent-content::before {
        height: 2px;
    }
}

/* ULTRA SMALL PHONES (241px - 280px) */
@media (min-width: 241px) and (max-width: 280px) {
    .cookie-consent-content {
        max-width: 98%;
        padding: 16px 14px 14px 14px;
        border-radius: 10px;
        max-height: 94vh;
        margin: 3px;
    }
    
    .cookie-consent-text h3 {
        font-size: 17px;
        margin-bottom: 10px;
        gap: 4px;
    }
    
    .cookie-consent-text h3 span {
        font-size: 16px;
    }
    
    .cookie-consent-text p {
        font-size: 12.5px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .cookie-consent-text a {
        font-size: 12px;
    }
    
    .cookie-types {
        padding: 7px 9px;
        margin: 10px 0;
        border-radius: 6px;
        border-left-width: 3px;
    }
    
    .cookie-type {
        font-size: 11.5px;
        padding: 4px 0;
        line-height: 1.4;
        display: flex;
        flex-direction: column;
    }
    
    .cookie-type strong {
        min-width: 75px;
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .cookie-consent-buttons {
        gap: 6px;
        margin-top: 12px;
        padding-top: 10px;
        border-top-width: 1px;
    }
    
    .cookie-btn {
        padding: 9px 14px;
        font-size: 12.5px;
        border-radius: 6px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .cookie-consent-close {
        top: 5px;
        right: 5px;
        width: 28px;
        height: 28px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #ddd;
    }
    
    .cookie-consent-banner {
        padding: 4px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .cookie-consent-content::before {
        height: 2px;
    }
}

/* MINIMAL DEVICES (200px - 240px) */
@media (min-width: 200px) and (max-width: 240px) {
    .cookie-consent-content {
        max-width: 99%;
        padding: 12px 10px 10px 10px;
        border-radius: 8px;
        max-height: 96vh;
        margin: 2px;
        border-width: 1px;
    }
    
    .cookie-consent-text h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .cookie-consent-text h3 span {
        font-size: 14px;
    }
    
    .cookie-consent-text p {
        font-size: 11px;
        line-height: 1.45;
        margin-bottom: 6px;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
        word-break: break-word;
    }
    
    .cookie-consent-text a {
        font-size: 11px;
        word-break: break-all;
    }
    
    .cookie-types {
        padding: 5px 7px;
        margin: 8px 0;
        border-radius: 5px;
        border-left-width: 2px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .cookie-type {
        font-size: 10.5px;
        padding: 3px 0;
        line-height: 1.35;
        border-bottom: none;
        display: flex;
        flex-direction: column;
    }
    
    .cookie-type strong {
        min-width: 65px;
        font-size: 11px;
        margin-bottom: 1px;
    }
    
    .cookie-consent-buttons {
        gap: 5px;
        margin-top: 10px;
        padding-top: 8px;
        border-top-width: 1px;
    }
    
    .cookie-btn {
        padding: 7px 10px;
        font-size: 11px;
        border-radius: 5px;
        min-height: 38px;
        letter-spacing: 0;
        line-height: 1.3;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        word-break: break-word;
    }
    
    .cookie-btn-accept {
        background: #0004ff;
        background: linear-gradient(135deg, #0004ff 0%, #2575fc 100%);
    }
    
    .cookie-btn-reject {
        background: #f8f9fa;
    }
    
    .cookie-consent-close {
        top: 3px;
        right: 3px;
        width: 24px;
        height: 24px;
        font-size: 16px;
        background: white;
        border: 1px solid #ccc;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .cookie-consent-banner {
        padding: 3px;
        background-color: rgba(0, 0, 0, 0.9);
    }
    
    .cookie-consent-content::before {
        height: 1px;
    }
    
    .cookie-btn:hover, .cookie-consent-close:hover {
        transform: none !important;
    }
    
    @keyframes slideUp {
        from {
            transform: translateY(20px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* SUPER SMALL DEVICES (< 200px) */
@media (max-width: 199px) {
    .cookie-consent-content {
        max-width: 100%;
        padding: 8px 6px 6px 6px;
        border-radius: 6px;
        max-height: 98vh;
        margin: 1px;
        border: none;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .cookie-consent-text {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .cookie-consent-text h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .cookie-consent-text h3 span {
        font-size: 12px;
    }
    
    .cookie-consent-text p {
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 4px;
        text-align: justify;
        hyphens: auto;
        word-break: break-word;
    }
    
    .cookie-consent-text a {
        font-size: 10px;
        word-break: break-all;
    }
    
    .cookie-types {
        padding: 4px 5px;
        margin: 6px 0;
        border-radius: 4px;
        border-left-width: 1px;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    
    .cookie-type {
        font-size: 9.5px;
        padding: 2px 0;
        line-height: 1.3;
        border-bottom: none;
    }
    
    .cookie-type strong {
        min-width: 55px;
        font-size: 10px;
        display: inline-block;
        margin-right: 3px;
    }
    
    .cookie-consent-buttons {
        gap: 4px;
        margin-top: 8px;
        padding-top: 6px;
        border-top-width: 1px;
        flex-direction: column;
    }
    
    .cookie-btn {
        padding: 5px 8px;
        font-size: 10px;
        border-radius: 4px;
        min-height: 32px;
        letter-spacing: 0;
        line-height: 1.2;
        word-break: break-word;
        white-space: normal;
        overflow-wrap: break-word;
    }
    
    .cookie-consent-close {
        top: 2px;
        right: 2px;
        width: 20px;
        height: 20px;
        font-size: 14px;
        background: white;
        border: 1px solid #bbb;
        box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }
    
    .cookie-consent-banner {
        padding: 2px;
        background-color: rgba(0, 0, 0, 0.95);
    }
    
    .cookie-consent-content::before {
        display: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
    
    .cookie-consent-banner.show {
        opacity: 1;
        visibility: visible;
    }
    
    @keyframes slideUp {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

/* OPTIMIZATION FOR DEVICES WITH LIMITED HEIGHT */
@media (max-height: 400px) {
    .cookie-consent-content {
        max-height: 95vh;
        padding-top: 20px;
        padding-bottom: 15px;
    }
    
    .cookie-consent-text {
        max-height: 60vh;
    }
    
    .cookie-consent-text h3 {
        margin-bottom: 10px;
        font-size: 18px;
    }
    
    .cookie-consent-text p {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.4;
    }
    
    .cookie-types {
        margin: 12px 0;
        padding: 8px 10px;
    }
    
    .cookie-type {
        padding: 4px 0;
        font-size: 12px;
    }
    
    .cookie-consent-buttons {
        margin-top: 15px;
        padding-top: 12px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
    }
}

/* OPTIMIZATION FOR DEVICES WITH LIMITED WIDTH AND HEIGHT (square screens) */
@media (max-width: 300px) and (max-height: 300px) {
    .cookie-consent-content {
        padding: 6px;
        max-height: 98vh;
    }
    
    .cookie-consent-text h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .cookie-consent-text p {
        font-size: 11px;
        margin-bottom: 4px;
        line-height: 1.3;
    }
    
    .cookie-types {
        display: none;
    }
    
    .cookie-consent-text p:nth-child(3) {
        display: none;
    }
    
    .cookie-consent-buttons {
        margin-top: 8px;
        padding-top: 6px;
    }
    
    .cookie-btn {
        padding: 6px 8px;
        font-size: 11px;
        min-height: 35px;
    }
    
    .cookie-consent-close {
        top: 3px;
        right: 3px;
        width: 22px;
        height: 22px;
        font-size: 16px;
    }
}

/* LANDSCAPE MODE */
@media (max-height: 600px) and (orientation: landscape) {
    .cookie-consent-content {
        max-width: 85%;
        max-height: 80vh;
        padding: 20px 25px 25px 25px;
    }
    
    .cookie-consent-text h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .cookie-consent-text p {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .cookie-types {
        padding: 10px 12px;
        margin: 15px 0;
    }
    
    .cookie-type {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .cookie-type strong {
        min-width: 90px;
        display: inline-block;
    }
    
    .cookie-consent-buttons {
        margin-top: 15px;
        padding-top: 15px;
        gap: 12px;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 160px;
    }
}

/* LANDSCAPE ORIENTATION ON SMALL DEVICES */
@media (max-height: 280px) and (orientation: landscape) {
    .cookie-consent-content {
        max-width: 96vw;
        max-height: 88vh;
        padding: 6px 8px 8px 8px;
        border-radius: 8px;
    }
    
    .cookie-consent-text h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .cookie-consent-text h3 .emoji {
        font-size: 14px;
    }
    
    .cookie-consent-text p {
        font-size: 9.5px;
        line-height: 1.3;
        margin-bottom: 4px;
    }
    
    .cookie-consent-buttons {
        padding-top: 6px;
        gap: 4px;
    }
    
    .cookie-btn {
        padding: 4px 6px;
        font-size: 9.5px;
        min-height: 28px;
        border-radius: 4px;
        word-break: break-word;
        line-height: 1.1;
    }
    
    .cookie-consent-close {
        top: 4px;
        right: 4px;
        width: 22px;
        height: 22px;
        font-size: 16px;
    }
    
    .cookie-consent-text br {
        display: none;
    }
}

/* SPECIAL CASE: JIO PHONE 2 IN LANDSCAPE (320px x 240px) */
@media (width: 320px) and (height: 240px) and (orientation: landscape) {
    .cookie-consent-content {
        max-width: 96vw;
        max-height: 88vh;
        padding: 6px 8px 8px 8px;
        border-radius: 8px;
    }
    
    .cookie-consent-text h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .cookie-consent-text h3 .emoji {
        font-size: 14px;
    }
    
    .cookie-consent-text p {
        font-size: 9.5px;
        line-height: 1.3;
        margin-bottom: 4px;
    }
    
    .cookie-consent-buttons {
        padding-top: 6px;
        gap: 4px;
    }
    
    .cookie-btn {
        padding: 4px 6px;
        font-size: 9.5px;
        min-height: 28px;
        border-radius: 4px;
        word-break: break-word;
        line-height: 1.1;
    }
    
    .cookie-consent-close {
        top: 4px;
        right: 4px;
        width: 22px;
        height: 22px;
        font-size: 16px;
    }
    
    .cookie-consent-text br {
        display: none;
    }
}

/* PREVENT ZOOM ON IOS IN LANDSCAPE */
@media (orientation: landscape) {
    .cookie-consent-content {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    .cookie-btn {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* HIGH SCREENS (tablets in portrait orientation) */
@media (min-height: 1000px) {
    .cookie-consent-content {
        max-width: 800px;
        padding: 45px 40px 40px 40px;
    }
    
    .cookie-consent-text h3 {
        font-size: 28px;
    }
    
    .cookie-consent-text p {
        font-size: 18px;
    }
    
    .cookie-type {
        font-size: 16px;
    }
    
    .cookie-btn {
        padding: 18px 36px;
        font-size: 18px;
        min-width: 250px;
    }
}