/* EzyShare application styles (loaded after Bootstrap). */

body {
    background-color: #f6f8fa;
}

/* Auth pages */
.auth-card {
    max-width: 420px;
    margin: 3rem auto;
}

/* Home page hero */
.hero {
    padding: 3rem 0 2rem;
}
.hero .display-4 {
    font-weight: 700;
}
.feature-card {
    transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}
.feature-icon {
    font-size: 1.75rem;
}

/* Code blocks */
pre.code-sample {
    background: #0d1117;
    color: #c9d1d9;
    border-radius: .5rem;
    padding: 1rem;
    overflow-x: auto;
}

/* Dashboard */
.file-table tbody tr:hover {
    background-color: rgba(13, 110, 253, .05);
}
.file-table td {
    vertical-align: middle;
}
.file-path {
    word-break: break-all;
}
.dropzone {
    border: 2px dashed #adb5bd;
    border-radius: .5rem;
    transition: border-color .15s ease, background-color .15s ease;
}
.dropzone.dragover {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, .06);
}
.project-list .list-group-item {
    cursor: pointer;
}
.project-list .list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Breadcrumbs */
.breadcrumb {
    margin-bottom: 0;
}

/* Tables in cards should sit flush */
.card > .table-responsive > .table,
.card > .table {
    margin-bottom: 0;
}

/* Utility: truncate long text in table cells */
.text-truncate-1 {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
