/* Custom styles for Terms and Conditions page */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

/* Main container */
.container {
    display: flex;
    min-height: 100vh;
}

/* Card styles */
.card {
    background-color: #F9FAFB;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    margin-bottom: 18px;
}

.card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 8px;
}

.card-text {
    color: #4B5563;
    margin-bottom: 12px;
}

.card-link {
    color: #2563EB;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

.card-link .material-icons {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.card-link:hover .material-icons {
    transform: translateX(3px);
}

/* Typography */
.title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.text-gray-600 {
    color: #4B5563;
}

.space-y-6 > * + * {
    margin-top: 24px;
}

.mt-10 {
    margin-top: 40px;
}

/* Left sidebar styles */
.left-sidebar {
    width: 350px;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 8px 24px 24px 24px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background-image: url('login_bg.jpg');
    background-size: cover;
    background-position: center;
}

.left-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(29, 100, 254, 0.89);
}

.sidebar-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 53px 28px 24px 29px;
    color: white;
}

.logo {
    width: 225px;
    align-self: flex-start;
    filter: brightness(0) invert(1);
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.support-link {
    display: flex;
    align-items: center;
    color: #A1B9FF;
    text-decoration: none;
}

.support-link:hover {
    text-decoration: underline;
}

.support-link .material-icons {
    margin-right: 9px;
}

.version-info {
    margin-left: 18px;
    color: #A1B9FF;
}

.main-content {
    flex: 1;
    background-color: #FFFFFF;
    margin-left: 350px; /* To offset for the fixed sidebar */
    display: flex;
    justify-content: center;
}

.content-inner {
    max-width: 896px;
    margin: 0 auto;
    padding: 48px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }

    .left-sidebar {
        position: relative;
        width: 100%;
        height: 80px; /* Banner height */
        padding: 0;
        position: relative; /* Ensure it's not fixed */
    }

    .sidebar-content {
        padding: 24px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .logo {
        width: 180px; /* Smaller logo for banner */
    }

    .main-content {
        margin-left: 0;
        justify-content: flex-start;
    }

    .content-inner {
        padding: 24px;
        margin: 0;
        max-width: 100%; /* Allow content to fill width */
    }
}
