/* Styles specific to the FlexiHost Control Panel */
body {
    /* font-family: 'Inter', sans-serif; Already in main style.css */
    /* background-color: #f7fafc; /* gray-100 */
}

/* Sidebar */
.sidebar {
    width: 260px;
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: 80px;
}

.sidebar.collapsed .sidebar-text {
    display: none;
}

.sidebar.collapsed .sidebar-icon {
    margin-right: 0;
    /* Center icons when collapsed */
    margin-left: auto;
    margin-right: auto;
}
.sidebar.collapsed .user-profile span,
.sidebar.collapsed .user-profile .text-xs {
    display: none;
}
.sidebar.collapsed .user-profile {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
} 

/* Main content area */
.main-content {
    transition: margin-left 0.3s ease;
    margin-left: 260px; /* Default sidebar width */
    width: calc(100% - 260px);
}

.main-content.sidebar-collapsed {
    margin-left: 80px; /* Collapsed sidebar width */
    width: calc(100% - 80px);
}

/* Styling for active sidebar links */
.sidebar-link.active {
    background-color: #2563eb; /* bg-blue-600 */
    color: white;
}
.sidebar-link.active svg {
    color: white;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Dim background */
}

.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px; /* Max width for the modal */
    background-color: #fff;
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-xl */
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280; /* gray-500 */
}

.modal-close:hover {
    color: #1f2937; /* gray-800 */
}


/* Progress bar simulation */
.progress-bar-container {
    width: 100%;
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 0.375rem; /* rounded-md */
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 1.25rem; /* h-5 */
    background-color: #3b82f6; /* blue-500 */
    text-align: center;
    line-height: 1.25rem; /* leading-5 */
    color: white;
    transition: width 0.5s ease-in-out;
}

/* Tabs */
.tabs button.active {
  border-color: #3b82f6; /* blue-500 */
  color: #3b82f6;
  font-weight: 600;
}

/* Custom scrollbar for content areas (optional) */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
} 