body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
        }
        .content-2-wrapper {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            min-height: 80vh;
            background: transparent;
        }
        .content-2{
            width: 100%;
            margin: 40px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .teacher-details-container {
            width: 60%;
            margin: auto;
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 0 16px rgba(0,0,0,0.12);
            border: 2px solid #2a7ae2;
        }
        h1 {
            text-align: center;
            color: #333;
            margin-bottom: 30px;
            font-size: 28px;
            letter-spacing: 1px;
        }
        
        .profile {
            display: flex;
            align-items: flex-start;
            gap: 32px;
            margin-top:0px;
        }
        @media (max-width: 768px) {
            .teacher-details-container {
                width: 100%;
            }
            .profile {
                flex-direction: column;
                align-items: center;
            }
        }
        .photo-name {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-right: 24px;
            min-width: 180px;
        }
        .teacher-image{
            width:150px;
            height:180px;
            border-radius: 8px;
            border: 2px solid #e0e0e0;
            box-shadow: 0 2px 8px rgba(42,122,226,0.08);
        }
        .photo-name h2 {
            margin-top: 14px;
            margin-bottom: 0;
            font-size: 22px;
            color: #2a7ae2;
            text-align: center;
            font-weight: bold;
            letter-spacing: 1px;
        }
        .details {
            flex-grow: 1;
        }
        .content-2 h3 {
            color: #2a7ae2;
            margin-top: 30px;
            margin-bottom: 10px;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 5px;
            font-size: 20px;
        }
        .info-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            margin-bottom: 10px;
        }
        .info-table td {
            border: none;
            padding: 4px 8px;
            font-size: 16px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
            margin-bottom: 20px;
            background: #fafafa;
            border-radius: 6px;
            overflow: hidden;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: left;
        }
        th {
            background-color: #e9f1fb;
            color: #333;
            font-size: 16px;
        }
        ul {
            margin-top: 10px;
            margin-bottom: 20px;
            padding-left: 20px;
        }
        .footer {
            margin-top: 30px;
            text-align: center;
            color: #888;
            font-size: 16px;
        }
        .teacher-print-btn {
            background: #2a7ae2;
            color: #fff;
            border: none;
            border-radius: 7px;
            padding: 10px 32px;
            font-size: 1.08rem;
            font-weight: 600;
            cursor: pointer;
            margin: 0 auto;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: background 0.2s, color 0.2s;
        }
        .teacher-print-btn:hover {
            background: #174a8b;
            color: #fff;
        }
        @media print {
            .teacher-print-btn,
    .custom-footer,
    .header-bar,
    .main-navbar,
    .back-btn,
    .top,
    script,
    link[rel="stylesheet"][href="style.css"] {
                display: none !important;
            }
            body {
                background: #fff !important;
            }
            .teacher-details-container {
                box-shadow: none !important;
                border: none !important;
                margin: 0 !important;
                width: 100% !important;
                padding: 0 !important;
            }
        }