/* --------------------------------------------------------------
   Baddie DeviantArt Downloader — Stylesheet
   -------------------------------------------------------------- */

#baddie-da-downloader {
    max-width: 900px;
    margin: 0 auto;
    font-family: system-ui, sans-serif;
}

/* --------------------------------------------------------------
   OAuth Status Banner
   -------------------------------------------------------------- */

.baddie-da-auth-status {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.baddie-da-auth-status.connected {
    background: #e8f8ef;
    border: 1px solid #2ecc71;
    color: #1e8c4a;
}

.baddie-da-auth-status.not-connected {
    background: #fff4e8;
    border: 1px solid #ff9800;
    color: #b36a00;
}

.baddie-da-connect-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #ff4da6;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.baddie-da-connect-btn:hover {
    background: #ff1f8f;
}

/* --------------------------------------------------------------
   Input + Button
   -------------------------------------------------------------- */

#baddie-da-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 15px;
}

#baddie-da-fetch-btn {
    padding: 10px 16px;
    background: #6c5ce7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

#baddie-da-fetch-btn:hover {
    background: #5847d6;
}

/* --------------------------------------------------------------
   Results Grid
   -------------------------------------------------------------- */

.baddie-da-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.baddie-da-item {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #eee;
    text-align: center;
    transition: 0.2s;
}

.baddie-da-item:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* --------------------------------------------------------------
   Thumbnails
   -------------------------------------------------------------- */

.baddie-da-thumb {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------
   Titles
   -------------------------------------------------------------- */

.baddie-da-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    min-height: 34px;
}

/* --------------------------------------------------------------
   Download Links
   -------------------------------------------------------------- */

.baddie-da-links a {
    display: inline-block;
    margin: 4px 0;
    padding: 6px 10px;
    background: #4b7bec;
    color: white;
    border-radius: 5px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}

.baddie-da-links a:hover {
    background: #3867d6;
}

.no-original {
    display: inline-block;
    margin: 4px 0;
    padding: 6px 10px;
    background: #ddd;
    color: #555;
    border-radius: 5px;
    font-size: 13px;
}