/* ============================================
   ThrottleX - Dashboard Styles
   ============================================ */

/* Dashboard Container */
.dashboard-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section */
.dashboard-section {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dashboard-section:last-child {
    margin-bottom: 0;
}

/* Section Title */
.section-title {
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #000000;
    margin: 0 0 8px 0;
}

.section-subtitle {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    margin: 0 0 24px 0;
}

/* ============================================
   FORM SECTION STYLES
   ============================================ */

.form-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field-label {
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #333333;
    margin-bottom: 8px;
}

.form-field-input {
    padding: 12px 14px;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    color: #333333;
    transition: all 0.3s ease;
}

.form-field-input:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: #FF7A00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

.form-field-input::placeholder {
    color: #999999;
}

/* Generate Link Button */
.btn-generate-link {
    width: 100%;
    padding: 14px 20px;
    background-color: #FF7A00;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.btn-generate-link:hover {
    background-color: #CC6200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
}

.btn-generate-link:active {
    transform: translateY(0);
}

/* ============================================
   TABLE STYLES
   ============================================ */

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Karla', sans-serif;
}

.dashboard-table thead {
    background-color: #F9F9F9;
    border-bottom: 2px solid #E0E0E0;
}

.dashboard-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #E8E8E8;
    font-size: 14px;
    color: #333333;
}

.dashboard-table tbody tr:hover {
    background-color: #F9F9F9;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Link */
.table-link {
    color: #FF7A00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.table-link:hover {
    color: #CC6200;
    text-decoration: underline;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 70px;
}

.status-active {
    background-color: #D4EDDA;
    color: #155724;
}

.status-filled {
    background-color: #D1ECF1;
    color: #0C5460;
}

.status-expired {
    background-color: #F8D7DA;
    color: #721C24;
}

/* View Form Button */
.btn-view-form {
    padding: 8px 16px;
    background-color: #FF7A00;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view-form:hover {
    background-color: #CC6200;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}

/* ============================================
   PAGINATION STYLES
   ============================================ */

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.pagination-btn {
    padding: 10px 16px;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-family: 'Karla', sans-serif;
    font-size: 13px;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pagination-btn:hover {
    background-color: #E8E8E8;
    border-color: #FF7A00;
}

.pagination-btn.active {
    background-color: #FF7A00;
    color: #FFFFFF;
    border-color: #FF7A00;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .form-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-container {
        padding: 0 30px;
    }
}

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

    .dashboard-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .dashboard-table {
        font-size: 12px;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 10px 8px;
    }

    .status-badge {
        font-size: 11px;
        padding: 4px 8px;
    }

    .btn-view-form {
        font-size: 11px;
        padding: 6px 12px;
    }

    .dashboard-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .dashboard-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .dashboard-table {
        font-size: 11px;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 8px 6px;
    }

    .dashboard-container {
        padding: 0 15px;
    }
}

