/* Contents Layout */
#contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    width: 100%;
}

.contents_inline {
    display: flex;
    justify-content: center;
}

.contents_m {
    width: 100%;
    max-width: 900px;
}

/* Page Title */
.contents_m>h2 {
    font-size: 2.5rem;
    color: var(--gray-dark);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.contents_m>h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--button-color) 100%);
    border-radius: 2px;
}

/* Main Container */
.main {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--button-color) 100%);
}

.main:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Info Table Container */
.info_table {
    padding: 3rem;
    padding-top: 3.5rem;
}

.cuser_container {
    position: relative;
}

/* Table Styles with selective forced overrides */
.info_table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

.info_table th {
    background: linear-gradient(135deg, var(--main-color) 0%, #1a4bb8 100%);
    color: var(--white);
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    vertical-align: middle;
    white-space: nowrap;
    width: 25% !important;
    margin-bottom: 0;
    /* Override inline style */
}

.info_table td {
    background: var(--white);
    padding: 1.5rem 2rem;
    border: 1px solid var(--gray-light);
    border-left: none;
    vertical-align: middle;
}

/* Override ta_left class if it exists */
.info_table .ta_left {
    text-align: left !important;
}

.info_table tbody tr:first-child th {
    border-radius: 16px 0 0 0;
}

.info_table tbody tr:first-child td {
    border-radius: 0 16px 0 0;
}

.info_table tbody tr:last-child th {
    border-radius: 0 0 0 16px;
}

.info_table tbody tr:last-child td {
    border-radius: 0 0 16px 0;
}

.info_table tbody tr {
    transition: var(--transition);
}

.info_table tbody tr:hover td {
    background: rgba(36, 95, 229, 0.02);
}

/* Text styling */
.info_table td {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.6;
}

/* Special styling for different content types */
.info_table tr:nth-child(1) th {
    background: linear-gradient(135deg, var(--button-color) 0%, #d66013 100%);
}

.info_table tr:nth-child(1) td {
    font-weight: 600;
    color: var(--gray-dark);
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #contents {
        padding: 1rem;
    }

    .contents_m>h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .info_table {
        padding: 2rem 1.5rem;
        padding-top: 2.5rem;
    }

    .info_table table {
        display: block;
        width: 100%;
        border: 0;
    }

    .info_table tbody,
    .info_table tr {
        display: block;
        width: 100%;
        border-color: var(--white);
    }

    .info_table th,
    .info_table td {
        display: block;
        width: 100% !important;
        border: 1px solid var(--gray-light);
        box-sizing: border-box;
    }

    .info_table th {
        border-radius: 12px 12px 0 0 !important;
        padding: 1.25rem 1.5rem;
        margin-top: 1.5rem;
        white-space: normal;
    }

    .info_table tbody tr:first-child th {
        margin-top: 0;
    }

    .info_table td {
        border-radius: 0 0 12px 12px !important;
        border-top: none;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contents_m>h2 {
        font-size: 1.75rem;
    }

    .info_table {
        padding: 1.5rem 1rem;
        padding-top: 2rem;
    }

    .info_table th {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .info_table td {
        padding: 1.25rem;
    }
}

/* Animation for page load */
.main {
    animation: fadeInUp 0.8s ease-out;
}

.contents_m>h2 {
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Enhanced visual hierarchy */
.info_table tr:nth-child(odd) th {
    background: linear-gradient(135deg, var(--main-color) 0%, #1a4bb8 100%);
}

.info_table tr:nth-child(even) th {
    background: linear-gradient(135deg, #1a4bb8 0%, var(--main-color) 100%);
}

/* Special styling for company name row */
.info_table tr:first-child th {
    /* background: linear-gradient(135deg, var(--button-color) 0%, #d66013 100%) !important; */
}

.info_table tr:first-child td {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--main-color);
}

/* Business content row special styling */
.info_table tr:last-child td {
    line-height: 1.8;
    padding: 2rem;
}