@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

body {
    background-color: #f0f2f5;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.text-gradient {
    background: linear-gradient(45deg, #d63384, #6f42c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.form-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eef0f7;
}

.drop-zone:hover {
    background-color: #f8f9fa;
    border-color: #667eea !important;
}

/* Paper Preview Styling */
.preview-container {
    background: #525659;
    padding: 20px;
    min-height: 850px;
}

.biodata-paper {
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    min-height: 800px;
    /* A4 Ratio */
    position: relative;
    font-family: 'Lato', sans-serif;
    color: #333;
}

/* Template Specific Styles */
.template-classic .header {
    border-bottom: 3px double #d63384;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-classic .header h1 {
    font-family: 'Playfair Display', serif;
    color: #d63384;
    font-size: 2.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.template-classic .photo-box {
    width: 150px;
    height: 180px;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

.template-classic .photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-classic .section-title {
    background: #f8f9fa;
    color: #d63384;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    padding: 8px 15px;
    margin-bottom: 15px;
    border-left: 4px solid #d63384;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.template-classic .data-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 1rem;
}

.template-classic .data-label {
    width: 40%;
    font-weight: bold;
    color: #555;
}

.template-classic .data-value {
    width: 60%;
    color: #000;
    font-weight: 500;
}