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

body {
    font-family: 'Adobe Clean', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2c2c2c;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    will-change: auto;
}

body.popup-mode {
    background-color: #f5f5f5;
}

body.standalone-mode {
    background-color: #f5f5f5;
}

.container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    width: 100%;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e1e1e1;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.logo {
    height: 32px;
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Clean styling for transparent logo */
    background: transparent;
    border: none;
    outline: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.locale-selector {
    position: relative;
}

.locale-selector select {
    appearance: none;
    background: #ffffff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 8px center;
    background-size: 16px;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #2c2c2c;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.locale-selector select:hover {
    border-color: #1473e6;
}

.locale-selector select:focus {
    outline: none;
    border-color: #1473e6;
    box-shadow: 0 0 0 3px rgba(20, 115, 230, 0.1);
}

.content {
    padding: 32px;
}

.message {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #2c2c2c;
}

.message p {
    margin-bottom: 16px;
}

.message p:last-child {
    margin-bottom: 0;
}

.action-descriptions {
    margin-bottom: 24px;
}

.action-description {
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
    margin-bottom: 8px;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 40px;
    min-width: 100px;
    will-change: background-color, box-shadow, border-color;
}

.btn-primary {
    background: #1473e6;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0d66d0;
    box-shadow: 0 4px 12px rgba(20, 115, 230, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #2c2c2c;
    border: 1px solid #d1d1d1;
}

.btn-secondary:hover {
    background: #e8e8e8;
    border-color: #b3b3b3;
}

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

.footer {
    padding: 20px 32px;
    background: #f8f9fa;
    border-top: 1px solid #e1e1e1;
    text-align: center;
}

.close-btn {
    background: #6b7280;
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    will-change: background-color;
}

.close-btn:hover {
    background: #4b5563;
}

.link {
    color: #1473e6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link:hover {
    color: #0d66d0;
    text-decoration: underline;
}

@media (max-width: 640px) {
    body {
        padding: 10px;
    }
    .container {
        border-radius: 6px;
    }
    .header {
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .content {
        padding: 24px;
    }
    .actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}