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

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
}

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 100%;
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.score-container {
    position: relative;
    height: 25px;
    background: #ddd;
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
}

.score-container.small { height: 15px; }

.score-bar {
    height: 100%;
    transform-origin: left center;
}

.score-bar.green { background: #2ecc71; }
.score-bar.orange { background: #f39c12; }
.score-bar.red { background: #e74c3c; }

.score-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    color: #fff;
    line-height: 25px;
}

.score-container.small .score-number { line-height: 15px; font-size: 0.8rem; }

.btn {
    display: inline-block;
    margin: 0.5rem 0.3rem;
    padding: 0.5rem 1rem;
    background: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
}

.btn:hover { background: #148d46; }

.small-btn { 
    font-family: 'Roboto', sans-serif;
    background-color: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
    margin-top: 1rem;
}

.dashboard-table th, .dashboard-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #ccc;
}

.dashboard-table th { background: #ecf0f1; font-weight: 700; text-align: left; }

.recommendations li {
    border-left: 4px solid;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    background: #fff;
}

li.red { border-color: #e74c3c; background:#fbeaea; }
li.orange { border-color: #e67e22; background:#fff4e5; }
li.yellow { border-color: #f1c40f; background:#fffbe5; }
li.green { border-color: #2ecc71; background:#eafaf1; }

.scan-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 2px solid #ccc;
    padding: 1.5rem;
    border-radius: 12px;
    background: #fafafa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.scan-form input[type="url"] {
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #aaa;
    font-size: 1rem;
}

.scan-form input[type="url"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.scan-form input[type="submit"] {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    font-family: 'Roboto', sans-serif;
    background: #2ecc71;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.scan-form input[type="submit"]:hover {
    background: #27ae60;
}

.dashboard-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.dashboard-btn:hover {
    background: #2980b9;
}

.feedback-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    background: #ca2d2d;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.feedback-btn:hover {
    background: #a10c0c;
}

.feedbacks {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.feedbacks ul {
    list-style: none;
    padding: 0;
}

.feedbacks li {
    margin-bottom: 8px;
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 6px;
    font-size: 0.9rem;
}


