* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #1e293b;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    width: 100%;
    max-width: 520px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

h2 {
    text-align: center;
    color: #0f172a;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #ef4444;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #60a5fa;
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

input[type="submit"],
input[type="reset"] {
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

input[type="submit"] {
    background: #3b82f6;
    color: white;
}

input[type="submit"]:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

input[type="reset"] {
    background: #e2e8f0;
    color: #475569;
}

input[type="reset"]:hover {
    background: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(203, 213, 225, 0.3);
}

.back-button-container {
    text-align: center;
    padding: 20px;
    margin: 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
    color: rgba(25, 101, 152, 0.4); 
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: rgba(25, 101, 152, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    gap: 6px;
}

.back-button::before {
    content: "←";
    font-size: 16px;
    transition: transform 0.2s ease;
}

.back-button:hover::before {
    transform: translateX(-2px);
}

.back-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background:rgba(52, 152, 219, 0.6);
    transition: width 0.3s ease;
}

.back-button:hover::after {
    width: 100%;
}

.back-button:hover {
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 8px 20px rgba(25, 101, 152, 0.4);
    transform: translateY(-1px);
}

.back-button:active {
    transform: translateY(0);
}