/* Cloud Storage Page Specific Styles */

/* Header with back button */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-button {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.back-button i {
    margin-right: 8px;
}

/* Disk page layout */
.disk-page {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-title {
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
}

.page-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

/* Disk sites container */
.disk-sites-container {
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 10px 0;
}

.disk-sites {
    display: flex;
    gap: 20px;
    padding: 10px;
    min-width: min-content;
}

/* Disk site cards */
.disk-site-card {
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.disk-site-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.site-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.site-info h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.site-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Add site section */
.add-site-section {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.add-site-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
}

.add-site-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.add-site-form input,
.add-site-form select,
.add-site-form button {
    padding: 12px 15px;
    border-radius: 8px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
}

.add-site-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.add-site-form select {
    cursor: pointer;
}

.add-site-form button {
    grid-column: span 2;
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-site-form button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Scrollbar styling */
.disk-sites-container::-webkit-scrollbar {
    height: 8px;
}

.disk-sites-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.disk-sites-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.disk-sites-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Disk site card with colored icons */
.disk-site-card:nth-child(1) .site-icon {
    background-color: rgba(30, 144, 255, 0.3);
}

.disk-site-card:nth-child(2) .site-icon {
    background-color: rgba(255, 140, 0, 0.3);
}

.disk-site-card:nth-child(3) .site-icon {
    background-color: rgba(50, 205, 50, 0.3);
}

.disk-site-card:nth-child(4) .site-icon {
    background-color: rgba(219, 112, 147, 0.3);
}

.disk-site-card:nth-child(5) .site-icon {
    background-color: rgba(255, 215, 0, 0.3);
}

.disk-site-card:nth-child(6) .site-icon {
    background-color: rgba(70, 130, 180, 0.3);
}

.disk-site-card:nth-child(7) .site-icon {
    background-color: rgba(106, 90, 205, 0.3);
}

/* Storage space indicator (optional visual feature) */
.storage-indicator {
    height: 5px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
    position: relative;
}

.storage-used {
    height: 100%;
    width: 35%; /* Just for demo, will be set by JS in real usage */
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.7) 0%, rgba(255, 177, 66, 0.7) 50%, rgba(231, 76, 60, 0.7) 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
    .add-site-form {
        grid-template-columns: 1fr;
    }
    
    .add-site-form button {
        grid-column: 1;
    }
    
    .disk-site-card {
        min-width: 220px;
    }
} 