@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');

.spa-device-not-supported-upgraded {
    padding: 0;
    margin: 0;
    background-color: #fff;
    color: #000;
    position: relative;
    overflow: hidden;
    font-family: 'Comfortaa', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.device-detection-section {
    padding: 20px 5%;
    margin-bottom: 40px;
}

.detection-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}


.circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    position: relative;
    animation: pulse 3s infinite;
}


.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}


.ring:nth-child(1) {
    width: 12px;
    height: 12px;
    top: -3px;
    left: -3px;
}

.ring:nth-child(2) {
    width: 18px;
    height: 18px;
    top: -6px;
    left: -6px;
}


@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.detection-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 8px 20px;
    background-color: #80a06e;
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    gap: 1vw;
}

.detected-device {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.detected-device .device-icon {
    color: #80a06e;
    margin-bottom: 15px;
}

.detected-device .device-name {
    font-family: 'Comfortaa', cursive;
    font-size: 36px;
    font-weight: 500;
    color: #000;
    margin: 0;
}

.device-message {
    position: relative;
    z-index: 1;
}

.device-message p {
    font-size: 16px;
    color: #000;
    margin: 0;
}

.main-section {
    padding: 20px 5%;
    position: relative;
    z-index: 2;
}

.message-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.alert-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 25px;
    background-color: #80a06e;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(128, 160, 110, 0.3);
}

.main-title {
    font-family: 'Comfortaa', cursive;
    font-size: 48px;
    font-weight: 300;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.main-description {
    font-size: 18px;
    line-height: 1.8;
    color: #000;
    max-width: 700px;
    margin: 0 auto;
}

.device-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.device-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: #fff;
    border: 1px solid #f7f3f3;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #f7f3f3;
}

.card-header .device-icon {
    margin-bottom: 15px;
    color: #80a06e;
}

.device-title {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: #000;
}

.card-content {
    padding: 25px;
}

.attributes {
    margin-bottom: 25px;
}

.attribute {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #f7f3f3;
}

.attribute:last-child {
    border-bottom: none;
}

.attribute-name {
    font-weight: 600;
    color: #000;
}

.attribute-value {
    color: #80a06e;
}

.support-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    margin-bottom: 20px;
}

.supported {
    background-color: rgba(128, 160, 110, 0.15);
    color: #80a06e;
}

.not-supported {
    background-color: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.status-icon {
    font-size: 20px;
    margin-right: 10px;
}

.compatibility-details {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.compatibility-details p {
    margin: 0;
}

.development-message {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.progress-container {
    margin-bottom: 40px;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.progress-container h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 28px;
    color: #000;
    margin-bottom: 25px;
}

.progress-bar {
    height: 14px;
    background-color: #f7f3f3;
    border-radius: 7px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #d9e8c1;
}

.progress-fill {
    height: 100%;
    width: 40%;
    background: linear-gradient(to right, #d9e8c1, #80a06e);
    border-radius: 7px;
    animation: progress 2.5s ease-in-out;
}

.progress-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.progress-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #000;
}

.stat-value {
    color: #80a06e;
}

.suggestion-expanded {
    display: flex;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #80a06e;
}

.suggestion-icon {
    margin-right: 20px;
    color: #80a06e;
    flex-shrink: 0;
}

.suggestion-content h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
}

.suggestion-content p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}

.suggestion-content p:last-child {
    margin-bottom: 0;
}


.group-1 {
    top: 20%;
    left: 5%;
}

.group-2 {
    top: 30%;
    right: 5%;
}

.group-3 {
    bottom: 40%;
    left: 8%;
}

.group-4 {
    bottom: 25%;
    right: 8%;
}

.deco-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fbf9ec;
    opacity: 0.6;
    margin-bottom: 15px;
}

.deco-line {
    width: 60px;
    height: 1px;
    background-color: #d9e8c1;
    margin: 15px 0;
    transform: rotate(-15deg);
}

.deco-square {
    width: 30px;
    height: 30px;
    background-color: #e7fece;
    opacity: 0.5;
    transform: rotate(45deg);
}

.deco-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid #d9e8c1;
    opacity: 0.4;
}

.bottom-pattern {
    width: 100%;
    padding: 40px 0;
    margin-top: auto;
    opacity: 0.7;
}

.pattern-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.pattern-row-offset {
    margin-left: 10%;
    width: 80%;
}

.pattern-element {
    width: 25px;
    height: 25px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
}


@media (max-width: 992px) {
    .device-cards {
        flex-direction: column;
        align-items: center;
    }

    
    .detection-badge {
        gap: 3vw;   
    }

    .device-card {
        width: 100%;
        max-width: 500px;
    }

    .progress-details {
        flex-direction: column;
        align-items: center;
    }

    .progress-stat {
        margin-bottom: 15px;
    }

    .suggestion-expanded {
        flex-direction: column;
    }

    .suggestion-icon {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }

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

    .detected-device .device-name {
        font-size: 28px;
    }

    .decorative-group {
        display: none;
    }
}

@font-face {
    font-family: 'Comfortaa';
    src: local('Comfortaa');
    font-fallback: 'Comfortaa', cursive;
}