/* Rubin Kimya Cookie Consent Modal Styles */

.cookie-consent-modal {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-150%);
    height: auto;
    max-height: 50vh;
    width: min(800px, 90vw);
   
}
.cookie-consent-modal .btn {
    padding:0.5rem !important;
}
    .cookie-consent-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


.cookie-consent-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: auto;
    display: flex;
    flex-direction: row;
}

.svg-wrapper{

    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:1rem 0 1rem 2rem;
}

.svg-wrapper img {
    height: auto;
  width:100%;
}
.content{
    flex:2;
    padding:1rem;
}

.cookie-consent-header {
    padding: 1rem;
}

.cookie-consent-header h4 {
    margin: 0;
    color: #4a90e2;
    font-size: 2.2rem;
    font-weight: 800;
}

.cookie-consent-body {
    padding: 0 1rem;
}

.cookie-consent-body p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

.cookie-consent-footer {
    padding: 1rem;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.cookie-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    min-width: 130px;
}

.btn-success {
    background-color: #4a90e2;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background-color: #357abd;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #7ba7d9;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #6691c7;
    transform: translateY(-1px);
}

.cookie-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-modal {
        bottom: 10px;
        left: 50%;
        right: auto;
        transform: translateX(-150%);
        width: calc(100vw - 1.2rem);
        max-width: calc(100vw - 1.2rem);
        height: auto;
        margin: 0;
    }
    
    .cookie-consent-modal.active {
        transform: translateX(-50%);
    }
    
    .cookie-consent-content {
        flex-direction: column;
    }
    
    .svg-wrapper {
        padding: 2rem 0 0 0;
        flex: none;
    }
    .svg-wrapper > img{
        height:60px;
    }
    
    .content {
        flex: 1;
    }
    
    .cookie-consent-header,
    .cookie-consent-body,
    .cookie-consent-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cookie-consent-footer {
        flex-direction: column;
        gap: 8px;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
  /*  .cookie-consent-modal {
        height: min(300px, 70vh);
    }*/
    
    .svg-wrapper {
      
    }
    
    .cookie-consent-header h4 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-body p {
        font-size: 0.9rem;
    }
}

