/* Custom styling for the image hosting application */

/* Global styles */
body {
    padding-bottom: 20px;
    background-color: #f8f9fa;
}

/* Card hover effects */
.card {
    transition: all 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Image cards */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Progress bar customizations */
.progress {
    height: 25px;
    font-weight: bold;
}

.progress-bar {
    line-height: 25px;
}

/* Custom button styles */
.btn-group.w-100 .btn {
    flex: 1;
}

/* Gallery image grid improvements */
.gallery-grid .card {
    margin-bottom: 1.5rem;
}

/* Dashboard stat cards */
.bg-primary, .bg-success, .bg-info, .bg-warning {
    overflow: hidden;
    position: relative;
}

.bg-primary::after, .bg-success::after, .bg-info::after, .bg-warning::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 100%);
    transform: rotate(30deg);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card-img-top {
        height: 160px;
    }
    
    .jumbotron {
        padding: 2rem 1rem;
    }
}

/* User gallery customizations */
.share-link-container {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Admin panel styles */
.system-info-list .list-group-item {
    display: flex;
    justify-content: space-between;
}

.admin-action-button {
    width: 150px;
}

/* File input styling */
.custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer styling */
footer {
    margin-top: 50px;
    padding: 20px 0;
    background-color: #343a40;
    color: white;
}

footer a {
    color: #17a2b8;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

/* Utility classes */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Album cover styling */
.album-cover {
    position: relative;
    height: 200px;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.card:hover .album-cover:before {
    background: rgba(0, 0, 0, 0.2);
}

/* Album reordering */
.sortable-ghost {
    opacity: 0.4;
}

.sortable-handle {
    cursor: move;
    cursor: -webkit-grabbing;
}
/* Google OAuth button */
.btn-google {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #757575;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-google:hover {
    background-color: #f8f9fa;
    color: #212529;
}

/* OAuth divider */
.oauth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.oauth-divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.oauth-divider-text {
    display: inline-block;
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #757575;
}