.cv-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 30px;
    background: #f9f9f9;
    direction: rtl;
    font-family: "Vazir", Tahoma, sans-serif;
    width: 58%;
  margin: 0 auto;
  border: 3px solid #1e5aa1;
}
.cv-wrapper-result { width: 100% !important; margin: 0 auto; margin-top: 20px; }
.cv-result p { 
  text-align: right;
  line-height: 32px;
  color: #1e5aa1;
  font-weight: bold;
  font-size: 15px;
}
.cv-header {
    background-color: #1e5aa1;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.cv-wrapper-result .cv-header {
	margin-bottom: 0;
}
.cv-header h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
}

.cv-header p {
    margin: 0;
    font-size: 15px;
}

.cv-form {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.cv-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.cv-form input[type="text"],
.cv-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.cv-form input[type="submit"] {
    background-color: #2271b1;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cv-form input[type="submit"]:hover {
    background-color: #135e96;
}

.cv-result, .cv-error {
    background-color: #f0f8ff;
    border: 1px solid #c1e2cd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 0;
    font-size: 16px;
    width: 100%;
}
.cv-error {
    background-color: #ffe6e6;
    color: #a70000;
    border-color: #f5c2c2;
}
