/* Websites page */

.website-estimation-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 13px 15px;
    color: #1849a9;
    background: #eff8ff;
    border: 1px solid #b2ddff;
    border-radius: 10px;
}

    .website-estimation-notice > svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        margin-top: 1px;
    }

    .website-estimation-notice strong {
        display: block;
        margin-bottom: 2px;
        font-size: 12px;
    }

    .website-estimation-notice span {
        display: block;
        font-size: 11px;
        line-height: 1.5;
        color: #175cd3;
    }

.websites-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.websites-duration-value {
    font-size: 25px;
}

.websites-panel {
    padding: 0;
    overflow: hidden;
}

.websites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 21px;
    border-bottom: 1px solid #eaecf0;
}

    .websites-toolbar .panel-title {
        margin-bottom: 2px;
    }

.websites-filter-form {
    display: flex;
    align-items: center;
    gap: 9px;
}

.websites-search-wrapper {
    position: relative;
}

    .websites-search-wrapper > svg {
        position: absolute;
        top: 50%;
        left: 12px;
        width: 16px;
        height: 16px;
        color: #98a2b3;
        pointer-events: none;
        transform: translateY(-50%);
    }

.websites-search-input {
    width: 235px;
    min-height: 39px;
    padding-left: 37px;
    font-size: 12px;
    border-color: #e2e8f0;
    border-radius: 8px;
}

.websites-date-input {
    width: 150px;
    min-height: 39px;
    font-size: 12px;
    border-color: #e2e8f0;
    border-radius: 8px;
}

.websites-filter-button {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: #1c67b2;
    border: 0;
    border-radius: 8px;
}

    .websites-filter-button svg {
        width: 15px;
        height: 15px;
    }

.websites-table-wrapper {
    overflow-x: auto;
}

.websites-table {
    width: 100%;
    min-width: 1180px;
    border-collapse: collapse;
}

    .websites-table th {
        padding: 11px 13px;
        font-size: 10px;
        font-weight: 600;
        color: #667085;
        text-align: left;
        text-transform: uppercase;
        letter-spacing: 0.035em;
        background: #f8fafc;
        border-bottom: 1px solid #eaecf0;
    }

    .websites-table td {
        padding: 13px;
        font-size: 12px;
        color: #475467;
        vertical-align: middle;
        border-bottom: 1px solid #eef1f5;
    }

    .websites-table tbody tr:hover {
        background: #fbfcfe;
    }

.website-name-cell {
    display: flex;
    min-width: 320px;
    align-items: flex-start;
    gap: 10px;
}

.website-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    color: #175cd3;
    background: #eff8ff;
    border-radius: 9px;
}

    .website-icon svg {
        width: 17px;
        height: 17px;
    }

.website-name-content {
    min-width: 0;
}

    .website-name-content strong {
        display: block;
        font-weight: 600;
        color: #344054;
    }

    .website-name-content small {
        display: block;
        margin-top: 1px;
        font-size: 10px;
        color: #175cd3;
    }

.website-window-title {
    display: block;
    max-width: 430px;
    margin-top: 4px;
    overflow: hidden;
    font-size: 10px;
    color: #98a2b3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    color: #344054;
    background: #f2f4f7;
    border-radius: 20px;
}

.website-confidence {
    display: inline-flex;
    min-width: 60px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 20px;
}

.website-confidence-high {
    color: #027a48;
    background: #ecfdf3;
}

.website-confidence-medium {
    color: #b54708;
    background: #fffaeb;
}

.website-confidence-low {
    color: #b42318;
    background: #fef3f2;
}

.website-usage-time {
    color: #344054;
}

.websites-empty {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

    .websites-empty strong {
        margin-top: 12px;
        font-size: 14px;
        color: #344054;
    }

    .websites-empty span {
        max-width: 420px;
        margin-top: 5px;
        font-size: 12px;
        color: #667085;
    }

@media (max-width: 1100px) {
    .websites-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .websites-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .websites-filter-form {
        width: 100%;
    }

    .websites-search-wrapper {
        flex: 1;
    }

    .websites-search-input {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .websites-summary-grid {
        grid-template-columns: 1fr;
    }

    .websites-filter-form {
        align-items: stretch;
        flex-direction: column;
    }

    .websites-date-input {
        width: 100%;
    }
}
.website-productivity-summary-card {
    grid-column: 1 / -1;
}

.website-productivity-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.website-productivity-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.website-productivity-summary-label {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.website-productivity-summary-value {
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
}

.website-productivity-summary-productive {
    color: #059669;
}

.website-productivity-summary-neutral {
    color: #2563eb;
}

.website-productivity-summary-unproductive {
    color: #dc2626;
}

@media (max-width: 800px) {
    .website-productivity-summary-grid {
        grid-template-columns: 1fr;
    }
}
.website-summary-panel {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.website-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 18px 16px;
    border-right: 1px solid #e2e8f0;
}

    .website-summary-item:last-child {
        border-right: 0;
    }

.website-summary-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
}

    .website-summary-icon svg {
        width: 20px;
        height: 20px;
    }

.website-summary-label {
    margin-bottom: 3px;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-summary-value {
    color: #0f3768;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}

.website-summary-icon-productive {
    color: #059669;
    background: #ecfdf5;
}

.website-summary-icon-neutral {
    color: #2563eb;
    background: #eff6ff;
}

.website-summary-icon-unproductive {
    color: #dc2626;
    background: #fef2f2;
}

.website-summary-productive {
    color: #059669;
}

.website-summary-neutral {
    color: #2563eb;
}

.website-summary-unproductive {
    color: #dc2626;
}

@media (max-width: 1250px) {
    .website-summary-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .website-summary-item:nth-child(3) {
        border-right: 0;
    }

    .website-summary-item:nth-child(-n+3) {
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 720px) {
    .website-summary-panel {
        grid-template-columns: 1fr;
    }

    .website-summary-item {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

        .website-summary-item:last-child {
            border-bottom: 0;
        }
}
.website-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: #f4f7fb;
    border: 1px solid #e5eaf0;
    overflow: hidden;
}

.website-favicon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.website-favicon-fallback {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .website-favicon-fallback svg {
        width: 18px;
        height: 18px;
    }