/* ===================================
   Data Deletion Request - SpeedPresta
   =================================== */

/* ===================================
   CSS Reset & Variables
   =================================== */

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

:root {
    --bg-dark: #050505;
    --bg-darker: #101213;
    --bg-hover: #33333f;
    --text-white: #ffffff;
    --text-light: #c6c6c6;
    --text-gray: #9d9d9d;
    --border-color: #d4d4d4;
    --accent-green: #acff6c;
    --success-bg: #f0fdf4;
    --success-border: #86efac;
    --success-text: #166534;
    --error-bg: #fef2f2;
    --error-border: #fca5a5;
    --error-text: #991b1b;
    --transition: 0.3s ease;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Main Content
   =================================== */

.main-content {
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    width: 100%;
    padding: 60px 50px;
    border: 1px solid #e5e5e5;
}

/* ===================================
   Header
   =================================== */

.header {
    text-align: center;
    margin-bottom: 40px;
}

.icon-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-hover));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.icon-badge i {
    font-size: 32px;
    color: var(--accent-green);
}

.header h1 {
    color: #111;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.header p {
    color: #737373;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* ===================================
   Info Box
   =================================== */

.info-box {
    background: #f8f9fa;
    padding: 24px;
    margin-bottom: 40px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: var(--bg-dark);
}

.info-content p {
    color: #525252;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

.info-content strong {
    font-weight: 600;
    color: #111;
}

/* ===================================
   Success Message
   =================================== */

.success-message {
    display: none;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    gap: 16px;
    animation: slideIn 0.3s ease;
}

.success-message.show {
    display: flex;
}

.success-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-icon i {
    font-size: 20px;
    color: var(--success-text);
}

.success-content h3 {
    color: var(--success-text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.success-content p {
    color: var(--success-text);
    font-size: 14px;
    font-weight: 400;
}

/* ===================================
   Error Message
   =================================== */

.error-message {
    display: none;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    gap: 16px;
    animation: slideIn 0.3s ease;
}

.error-message.show {
    display: flex;
}

.error-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.error-icon i {
    font-size: 20px;
    color: var(--error-text);
}

.error-content h3 {
    color: var(--error-text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.error-content p {
    color: var(--error-text);
    font-size: 14px;
    font-weight: 400;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Form Styles
   =================================== */

.deletion-form {
    margin-bottom: 40px;
}

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

label {
    display: block;
    color: #111;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.01em;
}

label .required {
    color: #dc2626;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
    background: white;
    color: #111;
    font-weight: 400;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #a3a3a3;
}

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

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* ===================================
   Checkbox Group
   =================================== */

.checkbox-group {
    margin-bottom: 32px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: #f0f0f0;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--bg-dark);
    flex-shrink: 0;
}

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

/* ===================================
   Submit Button
   =================================== */

.submit-btn {
    background: var(--bg-dark);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn i {
    font-size: 18px;
}

.submit-btn:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 5, 5, 0.2);
}

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

.submit-btn:disabled {
    background: #d4d4d4;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   Footer Note
   =================================== */

.footer-note {
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    background: #fafafa;
}

.footer-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-icon i {
    font-size: 20px;
    color: var(--bg-dark);
}

.footer-content p {
    color: #525252;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
}

.footer-content strong {
    font-weight: 600;
    color: #111;
}

.footer-content a {
    color: var(--bg-dark);
    font-weight: 600;
    text-decoration: underline;
}

.footer-content a:hover {
    color: var(--bg-hover);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .form-container {
        padding: 40px 30px;
    }

    .header h1 {
        font-size: 28px;
    }

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

@media (max-width: 600px) {
    .main-content {
        padding: 40px 20px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 24px;
    }

    .icon-badge {
        width: 56px;
        height: 56px;
    }

    .icon-badge i {
        font-size: 28px;
    }

    .info-box,
    .success-message,
    .error-message,
    .footer-note {
        flex-direction: column;
        align-items: flex-start;
    }
}
