.id-card-container {
            width: 3.375in;
            height: 2.125in;
            min-width: 3.375in;
            min-height: 2.125in;
            box-sizing: border-box;
            position: relative;
            overflow: hidden;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #2F4F4F;
            color: #fff;
            border-radius: 0.375rem;
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
            background-image: url('https://i.ibb.co.com/5hygY55B/card-2.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            padding: 0.15in;
            margin: 0 auto;
            border: 2px solid rgba(255, 215, 0, 0.3);
}



.top-header {
            position: absolute;
            top: 0.08in;
            left: 0.15in;
            right: 0.15in;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.11in;
            font-weight: 600;
            color: #ffd700;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
            letter-spacing: 0.5px;
}

.main-content {
            position: absolute;
            top: 0.45in;
            left: 0.15in;
            right: 0.15in;
            display: flex;
            align-items: flex-start;
            gap: 0.1in;
}

.photo-container {
            width: 0.75in;
            height: 0.75in;
            border-radius: 50%;
            overflow: hidden;
            border: 3px solid #FFD700;
            margin-right: 0.1in;
            flex: 0 0 auto;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.photo-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center center;
            display: block;
}

.details-container {
            color: #fff;
            flex: 1 1 auto;
}

.college-info {
            display: flex;
            align-items: center;
            margin-bottom: 0.04in;
            padding: 0.02in;
            background: rgba(255, 215, 0, 0.1);
            border-radius: 0.1in;
            border: 1px solid rgba(255, 215, 0, 0.3);
}

.college-info img {
            width: 0.22in;
            height: 0.22in;
            object-fit: contain;
            margin-right: 0.04in;
            border-radius: 50%;
            border: 1px solid #fff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.college-info p {
            font-size: 0.11in;
            font-weight: 600;
            margin: 0;
            color: #fff;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.details-container p {
            font-size: 0.1in;
            line-height: 1.2;
            margin-bottom: 0.015in;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.details-container span.label {
            font-weight: 600;
            color: #FFD700;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
            letter-spacing: 0.3px;
}

.bottom-section {
            position: absolute;
            bottom: 0.12in;
            left: 0.15in;
            right: 0.15in;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
}

.student-name {
            font-size: 0.15in;
            font-weight: 700;
            color: #fff;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            letter-spacing: 0.5px;
            text-transform: uppercase;
}

.principal-info {
            text-align: right;
            font-size: 0.1in;
            position: absolute;
            right: 0;
            bottom: 0;
        }

.principal-info img {
            width: 0.85in;
            height: 0.25in;
            object-fit: contain;
            filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

.principal-signature {
            display: inline-block;
            width: 1.05in;
        }

.signature-text {
            display: block;
            font-family: 'Great Vibes', cursive;
            font-size: 0.09in;
            color: #fff;
            margin-top: 0.008in;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }

.signature-underline {
            border-top: 1px solid rgba(255,255,255,0.9);
            margin-top: 0.008in;
            padding-top: 0.003in;
            width: 1.0in;
        }

.signature-caption {
            display: inline-block;
            background: rgba(0,0,0,0.4);
            color: #fff;
            font-size: 0.075in;
            padding: 0.005in 0.03in;
            border-radius: 0.04in;
            box-shadow: 0 2px 4px rgba(0,0,0,0.5);
            text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        }

.file-input-button {
            background-color: #4F46E5;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            cursor: pointer;
            display: inline-block;
            font-size: 0.875rem;
            line-height: 1.25rem;
            transition: background-color 0.2s;
}
.file-input-button:hover {
            background-color: #4338CA;
}


