* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    opacity: 0.09;
    z-index: 0;
    pointer-events: none;
    background-image: url('/images/logo-pattern.svg');
    background-size: 180px 180px;
    background-repeat: repeat;
    transform: rotate(-15deg);
}

.container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo-container svg,
.logo-container img {
    max-width: 100%;
    /* 250px yerine 100% */
    height: auto;
    width: 280px;
    /* Varsayılan genişlik */
}

.logo-container h2 {
    font-size: 18px;
    color: #2B2B2A;
    margin-top: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.form-card,
.success-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.success-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.alert {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    font-size: 14px;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: #22c55e;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #2B2B2A;
    font-weight: 500;
    font-size: 14px;
}

label .required {
    color: #E31F25;
    margin-left: 2px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e5e5;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #E31F25;
    box-shadow: 0 0 0 3px rgba(227, 31, 37, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    color: #E31F25;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.input-error {
    border-color: #E31F25 !important;
    background: #fef2f2;
}

.input-hint {
    font-size: 12px;
    color: #737373;
    margin-top: 5px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #E31F25;
}

.checkbox-wrapper label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 14px;
    color: #525252;
    cursor: pointer;
    line-height: 1.6;
}

.checkbox-wrapper a {
    color: #E31F25;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-wrapper a:hover {
    text-decoration: underline;
}

.submit-btn,
.home-btn {
    width: 100%;
    padding: 16px;
    background: #E31F25;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.submit-btn:hover,
.home-btn:hover {
    background: #c11a20;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 31, 37, 0.3);
}

.submit-btn:active,
.home-btn:active {
    transform: translateY(0);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #E31F25;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

h1 {
    font-size: 28px;
    color: #2B2B2A;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    font-size: 16px;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #737373;
    font-size: 13px;
}

@media (max-width: 640px) {
    body {
        padding: 20px 15px;
    }

    .form-card,
    .success-card {
        padding: 30px 20px;
    }

    .logo-container {
        padding: 20px;
    }

    .logo-container svg,
    .logo-container img {
        width: 200px;
        /* Mobilde daha küçük */
        max-width: 100%;
    }

    .logo-container h2 {
        font-size: 16px;
        /* Başlık da küçülsün */
    }

    h1 {
        font-size: 24px;
    }
}