/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home/home.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

/* Footer */
footer {
    background-color: #5ec688;
    color: white;
    padding: 2rem 0;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

footer p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.login-container {
    text-align: center;
}

.google-signin-btn {
    display: inline-flex;
    align-items: center;
    background-color: #4285F4;
    color: white;
    border: 1px solid #4285F4;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.google-signin-btn:hover {
    background-color: #357ae8;
}

.google-logo {
    background: white;
    padding: 4px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.google-logo img {
    width: 18px;
    height: 18px;
}

.workspace-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Responsif untuk perangkat mobile */
@media (max-width: 768px) {
    .workspace-img {
        height: 150px;
    }
}

.workspace-imgdetail {
    width: 100%;
    max-width: 500px; /* Anda bisa menyesuaikan ukuran maksimal sesuai kebutuhan */
    height: auto;
    object-fit: contain; /* Ini akan memastikan gambar terlihat utuh tanpa terpotong */
    display: block;
    margin-bottom: 5px;
}

/* Untuk perangkat mobile */
@media (max-width: 768px) {
    .workspace-imgdetail {
        max-width: 100%;
    }
}

/* Workspace Card Styles (Dashboard) */
.workspace-card {
    display: block;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.workspace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.workspace-image-container {
    width: 100%;
    height: 150px;
    background-color: #6b7280;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.workspace-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workspace-info {
    padding: 0.5rem 0;
}

.workspace-name {
    font-weight: 500;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    margin-left: 0.5rem;
}

.workspace-price {
    color: #6b7280;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .workspace-image-container {
        height: 120px;
    }
}

/* Custom Utility Classes (Tailwind-like) */
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; margin-top: 0.5rem;}
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.text-lg { font-size: 1.125rem; }
.text-gray-600 { color: #4B5563; }
.text-blue-700 { color: #1D4ED8; }
.text-black { color: #000; }
.space-y-4 > * + * { margin-top: 1rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-y-3 { row-gap: 0.75rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.justify-left { justify-content: flex-start; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-6 { width: 1.5rem; }
.w-1\/2 { width: 50%; }
.h-fit { height: fit-content; }
.block { display: block; }
.w-full { width: 100%; }
.border { border: 1px solid #d1d5db; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.p-6 { padding: 1.5rem; }
.bg-gray-50 { background-color: #F9FAFB; }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px #60A5FA; }
.focus\:ring-blue-400:focus { box-shadow: 0 0 0 2px #60A5FA; }
.bg-black-600 { background-color: #222; }
.bg-blue-600 { background-color: #3182ce; }
.hover\:bg-blue-700:hover { background-color: #1D4ED8; }
.transition { transition: all 0.2s; }
.h-10 { height: 2.5rem; }
.mr-3 { margin-right: 0.75rem; }

/* Table Styles */
table.table-fixed {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

table.min-w-full {
    min-width: 100%;
}

table.divide-y.divide-gray-200 > tr {
    border-top: 1px solid #e5e7eb;
}

table.divide-y.divide-gray-200 > thead {
    border-bottom: 1px solid #e5e7eb;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

/* Table Columns Width */
.w-\[5\%\] {
    width: 5%;
}

.w-\[10\%\] {
    width: 10%;
}

.w-\[15\%\] {
    width: 15%;
}

.w-\[20\%\] {
    width: 20%;
}

.w-\[25\%\] {
    width: 25%;
}

.w-\[30\%\] {
    width: 30%;
}

.w-\[35\%\] {
    width: 35%;
}

.w-\[40\%\] {
    width: 40%;
}

/* Table Cell Styles */
.whitespace-nowrap {
    white-space: nowrap;
}

.text-left {
    text-align: left;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-medium {
    font-weight: 500;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.uppercase {
    text-transform: uppercase;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Table Row Hover Effect */
.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}
