
.aad-container{
    max-width:1000px;
    margin:40px auto;
    background:#ffffff;
    border-radius:24px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    font-family:Arial,sans-serif;
}

.aad-header{
    text-align:center;
}

.aad-header h1{
    font-size:42px;
    margin-bottom:10px;
}

.aad-header p{
    color:#666;
}

#aad-content{
    width:100%;
    height:280px;
    padding:18px;
    border-radius:16px;
    border:1px solid #ddd;
    margin-top:25px;
    font-size:16px;
}

.aad-tools{
    margin-top:15px;
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
}

.aad-stats{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.aad-stats span{
    background:#f3f4f6;
    padding:10px 14px;
    border-radius:12px;
}

#aad-detect-btn{
    width:100%;
    margin-top:20px;
    padding:18px;
    border:none;
    border-radius:16px;
    background:linear-gradient(90deg,#4f46e5,#9333ea);
    color:white;
    font-size:18px;
    cursor:pointer;
}

#aad-detect-btn:hover{
    opacity:0.95;
}

#aad-loading{
    text-align:center;
    margin-top:30px;
}

.aad-loader{
    width:60px;
    height:60px;
    border:6px solid #ddd;
    border-top:6px solid #4f46e5;
    border-radius:50%;
    margin:0 auto 15px;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{transform:rotate(360deg);}
}

.aad-results{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:35px;
}

.aad-card{
    background:#f9fafb;
    padding:25px;
    border-radius:20px;
    text-align:center;
}

.aad-progress{
    width:100%;
    height:18px;
    background:#e5e7eb;
    border-radius:30px;
    overflow:hidden;
    margin:20px 0;
}

#aad-highlighted-text{
    line-height:2;
}

#ai-bar{
    width:0%;
    height:100%;
    background:#ef4444;
    transition:1s;
}

#human-bar{
    width:0%;
    height:100%;
    background:#22c55e;
    transition:1s;
}

#aad-analysis-text{
    color:#555;
}

.aad-analysis-box,
.aad-highlight-box{
    margin-top:30px;
    background:#f9fafb;
    padding:25px;
    border-radius:20px;
}

.ai-sentence{
    background:#fee2e2;
    padding:4px 6px;
    border-radius:6px;
}

.human-sentence{
    background:#dcfce7;
    padding:4px 6px;
    border-radius:6px;
}

@media(max-width:768px){
    .aad-results{
        grid-template-columns:1fr;
    }

    .aad-tools{
        flex-direction:column;
    }
}
