body {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #F8FAFF 0%, #d9e7f7 100%);
    min-height: 100vh;
}
.header {
    text-align: center;
    background: rgba(255,255,255,0.85);
    padding: 40px 10px 20px 10px;
    box-shadow: 0 4px 24px rgba(40,180,200,0.08);
}
.header h1 {
    font-size: 2.8em;
    color: #1b98e0;
    margin-bottom: 0.4em;
    letter-spacing: 2px;
}
.header p {
    color: #34495e;
    font-size: 1.2em;
    margin-top: 0;
}
.card {
    background: #fff;
    border-radius: 14px;
    max-width: 370px;
    margin: 40px auto;
    padding: 30px 35px;
    box-shadow: 0 6px 32px rgba(50,80,200,0.12);
    text-align: center;
}
.card h2 {
    margin-bottom: 20px;
    color: #1b98e0;
}
.card ul {
    text-align: left;
    margin: 0 0 24px 0;
    padding: 0 0 0 20px;
    color: #34495e;
    font-size: 1.05em;
}
.card ul li {
    margin-bottom: 10px;
}
.btn-group {
    margin-top: 18px;
}
.btn {
    text-decoration: none;
    background: #1b98e0;
    color: #fff;
    padding: 13px 34px;
    border-radius: 30px;
    margin: 6px 12px 0 0;
    font-weight: 500;
    font-size: 1.1em;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(27,152,224,0.09);
    transition: background 0.2s;
    border: none;
    display: inline-block;
}
.btn:last-child { margin-right: 0;}
.btn:hover {
    background: #156fa0;
    color: #fff;
}
@media (max-width: 500px) {
    .card { max-width: 98%; padding: 18px 4vw;}
    .header h1 { font-size: 2em;}
}
.footer {
    margin-top: 50px;
    text-align: center;
    color: #789;
    font-size: 1em;
    letter-spacing: 1px;
    padding-bottom: 18px;
}
/* আগের CSS এর পরে এটুকু বাড়ান */

.form-container {
    max-width: 370px;
    margin: 48px auto;
    padding: 30px 35px 26px 35px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 32px rgba(50,80,200,0.09);
    text-align: center;
}
.form-container h2 {
    color: #1b98e0;
    margin-bottom: 18px;
}
.form-group {
    margin-bottom: 19px;
    text-align: left;
}
.form-group label {
    font-size: 1em;
    color: #1b98e0;
    margin-bottom: 4px;
    display: block;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.2px solid #b2c8e6;
    border-radius: 6px;
    font-size: 1.05em;
    outline: none;
    transition: border 0.18s;
    margin-top: 4px;
}
.form-group input:focus {
    border-color: #1b98e0;
}
.form-btn {
    width: 100%;
    padding: 11px 0;
    background: #1b98e0;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(27,152,224,0.09);
    transition: background 0.2s;
    cursor: pointer;
    margin-top: 8px;
}
.form-btn:hover {
    background: #156fa0;
}
.form-note {
    font-size: 0.98em;
    margin-top: 12px;
    color: #555;
}
.form-error {
    color: #e74c3c;
    background: #ffefef;
    border: 1px solid #ffd6d6;
    padding: 8px 0;
    border-radius: 6px;
    margin-bottom: 13px;
    font-size: 0.97em;
}
.form-success {
    color: #229954;
    background: #eaffea;
    border: 1px solid #b9ffbc;
    padding: 8px 0;
    border-radius: 6px;
    margin-bottom: 13px;
    font-size: 0.97em;
}
.top-header {
    width: 100%;
    background: linear-gradient(90deg, #1b98e0 0%, #70d9ff 100%);
    box-shadow: 0 3px 18px rgba(50,130,210,0.06);
    padding: 18px 0 12px 0;
    text-align: center;
    margin-bottom: 25px;
}
.top-header .brand-logo {
    font-size: 2em;
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.top-header .brand-logo span {
    color: #ffd700;
    font-weight: 300;
    font-size: 0.6em;
    letter-spacing: 1px;
}
.footer {
    margin-top: 55px;
    text-align: center;
    color: #789;
    font-size: 1em;
    letter-spacing: 1px;
    padding-bottom: 20px;
    opacity: 0.94;
}
.footer a {
    color: #1b98e0;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

.dashboard-header {
    margin: 38px auto 16px auto;
    max-width: 950px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
}
.dashboard-header .welcome {
    font-size: 1.5em;
    color: #1876b4;
    font-weight: 700;
    letter-spacing: 1px;
}
.dashboard-header .dash-btns a {
    text-decoration: none;
    margin-left: 10px;
    color: #fff;
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    border-radius: 6px;
    padding: 9px 21px;
    font-size: 1em;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(80,200,230,0.13);
    transition: background 0.18s, box-shadow 0.15s;
    border: none;
    display: inline-block;
}
.dashboard-header .dash-btns a:hover {
    background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%);
    box-shadow: 0 6px 18px rgba(80,200,230,0.22);
}
.dashboard-header .dash-btns a:last-child {
    background: linear-gradient(90deg, #f86969 0%, #fbb03b 100%);
}
.dashboard-header .dash-btns a:last-child:hover {
    background: linear-gradient(90deg, #fbb03b 0%, #f86969 100%);
}

.dashboard-list {
    margin: 28px auto 0 auto;
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    padding: 0 18px;
}

.resume-card {
    background: linear-gradient(120deg, #eaf6fb 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow: 0 6px 30px rgba(70,140,220,0.13);
    padding: 32px 24px 20px 24px;
    position: relative;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2.4px solid #d0e8ff;
    transition: transform 0.15s, box-shadow 0.17s, border 0.12s;
}
.resume-card:hover {
    transform: translateY(-4px) scale(1.035);
    box-shadow: 0 12px 42px rgba(40,160,230,0.21);
    border: 2.4px solid #1b98e0;
    background: #e5f7fe;
}
.resume-title {
    font-size: 1.22em;
    font-weight: 600;
    color: #1b98e0;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.resume-date {
    font-size: 0.98em;
    color: #85a7bf;
    margin-bottom: 16px;
}
.resume-actions {
    margin-top: 12px;
}
.resume-actions a, .resume-actions form button {
    text-decoration: none;
    margin-right: 11px;
    background: #1b98e0;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 18px;
    font-size: 1em;
    font-weight: 500;
    box-shadow: 0 2px 7px rgba(27,152,224,0.09);
    transition: background 0.18s;
    cursor: pointer;
    display: inline-block;
}
.resume-actions a:last-child, .resume-actions form button:last-child {
    margin-right: 0;
}
.resume-actions a:hover, .resume-actions form button:hover {
    background: #1876b4;
    color: #fff;
}
.resume-actions form {
    display: inline;
}

.no-resume {
    margin: 75px auto 0 auto;
    text-align: center;
    color: #b0b0b0;
    font-size: 1.2em;
    font-style: italic;
    letter-spacing: 1px;
}
.btn {
    display: inline-block;
    margin-top: 14px;
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%);
    color: #fff;
    font-weight: 600;
    padding: 13px 36px;
    border-radius: 25px;
    font-size: 1.1em;
    box-shadow: 0 3px 12px rgba(50,180,200,0.12);
    border: none;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background 0.2s;
}
.btn:hover {
    background: linear-gradient(90deg, #185a9d 0%, #43cea2 100%);
}

@media (max-width: 540px) {
    .dashboard-header, .dashboard-list { padding: 0 2vw;}
    .dashboard-header .welcome { font-size: 1em;}
}

/* Resume Builder Form Modern Design */
.builder-form {
    max-width: 570px;
    margin: 40px auto 38px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(27,152,224,0.13);
    padding: 40px 36px 26px 36px;
}
.builder-form .form-group {
    margin-bottom: 24px;
    text-align: left;
    padding: 12px 0;
}
.repeat-list {
    margin-bottom: 6px;
}
.repeat-item {
    display: flex;
    gap: 10px;
    margin-bottom: 7px;
}
.repeat-item input,
.repeat-item textarea {
    flex: 1 1 auto;
}
.repeat-item .remove-btn {
    background: #ff5252;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-left: 3px;
    align-self: flex-end;
}
.add-btn {
    background: #1b98e0;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    padding: 7px 16px;
    margin-top: 6px;
    cursor: pointer;
    transition: background 0.18s;
}
.add-btn:hover { background: #156fa0; }
.resume-a4-preview-wrap {
    width: 794px;  /* A4 px width @96dpi */
    height: 1123px; /* A4 px height @96dpi */
    margin: 36px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 36px #d9e6ff;
    overflow: hidden;
    position: relative;
    padding: 0;
}
.a4-content-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 40px 38px 40px 38px;
}
@media (max-width: 900px) {
    .resume-a4-preview-wrap {
        width: 99vw;
        height: calc(99vw * 1.414);
        min-width: 320px;
        min-height: 480px;
    }
}