*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#eef2f7;
    color:#333;
    min-height:100vh;
}

header{
    background:#24292f;
    color:white;
    text-align:center;
    padding:40px 20px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

header h1{
    font-size:42px;
    margin-bottom:10px;
}

header p{
    color:#d0d7de;
    font-size:18px;
}

main{
    width:90%;
    max-width:1150px;
    margin:40px auto;
}

.search-section{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:35px;
}

input{
    flex:1;
    max-width:700px;
    padding:16px 18px;
    font-size:17px;
    border:1px solid #d0d7de;
    border-radius:10px;
    outline:none;
    transition:.25s;
}

input:focus{
    border-color:#0969da;
    box-shadow:0 0 0 4px rgba(9,105,218,.15);
}

button{
    background:#2da44e;
    color:white;
    border:none;
    border-radius:10px;
    padding:16px 30px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:.25s;
}

button:hover{
    background:#218739;
    transform:translateY(-2px);
}

#result{
    background:white;
    border-radius:16px;
    padding:35px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.placeholder{
    text-align:center;
    padding:60px 30px;
}

.placeholder h2{
    margin-bottom:15px;
}

.repo-header{
    display:flex;
    align-items:center;
    gap:25px;
    margin-bottom:30px;
}

.repo-header img{
    width:120px;
    height:120px;
    border-radius:50%;
    border:5px solid white;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
}

.repo-header h2{
    font-size:34px;
    margin-bottom:10px;
}

.repo-header p{
    line-height:1.6;
}

.status{
    display:inline-block;
    margin:15px 0;
    padding:8px 15px;
    border-radius:20px;
    color:white;
    font-size:14px;
    font-weight:bold;
}

.active{
    background:#2da44e;
}

.moderate{
    background:#f0ad4e;
}

.inactive{
    background:#dc3545;
}

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:18px;
    margin:35px 0;
}

.card{
    background:#f8fafc;
    border-radius:12px;
    padding:25px;
    text-align:center;
    transition:.25s;
    border:1px solid #e5e7eb;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,.12);
}

.card h3{
    margin-bottom:15px;
    color:#57606a;
}

.card p{
    font-size:24px;
    font-weight:bold;
    color:#24292f;
}

.health{
    margin-top:30px;
    background:#f6ffed;
    border-left:7px solid #2da44e;
    border-radius:12px;
    padding:25px;
}

.progress{
    width:100%;
    height:16px;
    background:#d0d7de;
    border-radius:20px;
    overflow:hidden;
    margin:18px 0;
}

.progress-bar{
    height:100%;
    background:#2da44e;
    transition:width .5s ease;
}

.health h1{
    margin-bottom:8px;
}

.repo-links{
    margin-top:35px;
}

.repo-links a{
    display:inline-block;
    text-decoration:none;
    padding:12px 22px;
    border-radius:10px;
    margin-right:15px;
    font-weight:bold;
    transition:.25s;
}

.repo-links a:first-child{
    background:#2da44e;
    color:white;
}

.repo-links a:last-child{
    background:#0969da;
    color:white;
}

.repo-links a:hover{
    transform:translateY(-2px);
    opacity:.92;
}

footer{
    text-align:center;
    padding:35px;
    color:#6e7781;
    font-size:15px;
}

@media(max-width:768px){

    .repo-header{
        flex-direction:column;
        text-align:center;
    }

    .search-section{
        flex-direction:column;
    }

    input{
        width:100%;
        max-width:none;
    }

    button{
        width:100%;
    }

}