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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.modal {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    animation: modalAppear 0.3s ease-out;
    position: relative;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.modal-body {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 32px;
}

.confirm-button {
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.confirm-button:hover {
    background: #0051D5;
    transform: translateY(-1px);
}

.confirm-button:active {
    transform: translateY(0);
}

.confirm-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.confirm-button:disabled:hover {
    background: #ccc;
    transform: none;
}

.unsubscribe-button {
    background: #FF3B30;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.unsubscribe-button:hover {
    background: #D70015;
    transform: translateY(-1px);
}

.unsubscribe-button:active {
    transform: translateY(0);
}

.unsubscribe-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.unsubscribe-button:disabled:hover {
    background: #ccc;
    transform: none;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #666;
}
