/* ==================== RIGHT PANEL ==================== */

.right-panel {
    position: fixed;
    top: 56px;
    right: -380px;
    width: 380px;
    height: calc(100vh - 56px);
    background: var(--bg-primary);
    border-left: 1px solid var(--border-primary);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow: hidden;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.15);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.right-panel.active {
    right: 0;
}

/* ==================== OVERLAY ==================== */

.right-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
    will-change: opacity;
    transform: translateZ(0);
}

.right-panel-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==================== PANEL HEADER ==================== */

.panel-header {
    flex-shrink: 0;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-secondary);
    gap: 12px;
}

#panel-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.panel-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
    line-height: 1;
}

.panel-close:hover {
    color: var(--text-primary);
    background: var(--bg-primary);
}

.panel-close:active {
    transform: scale(0.95);
}

.panel-close svg {
    width: 16px;
    height: 16px;
}

/* ==================== PANEL CONTENT ==================== */

.panel-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    scroll-behavior: smooth;
    will-change: scroll-position;
    contain: layout style paint;
}

/* Кастомный скролл для WebKit браузеров */
.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-track {
    background: transparent;
}

.panel-content::-webkit-scrollbar-thumb {
    background: var(--border-secondary);
    border-radius: 3px;
}

.panel-content::-webkit-scrollbar-thumb:hover {
    background: var(--border-primary);
}

/* Firefox */
.panel-content {
    scrollbar-width: thin;
    scrollbar-color: var(--border-secondary) transparent;
}

.panel-section {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-secondary);
}

.panel-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.panel-section h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-section h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.panel-section p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* ==================== FORM ELEMENTS ==================== */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-select {
    width: 100%;
    padding: 8px 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 13px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: var(--text-tertiary);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
}

.form-input:disabled,
.form-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== BUTTONS ==================== */

.btn {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    user-select: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(184, 134, 11, 0.2);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--border-primary);
    background: var(--bg-elevated);
}

.btn-secondary:active:not(:disabled) {
    background: var(--bg-secondary);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.2);
}

.btn-danger:active:not(:disabled) {
    background: rgba(239, 68, 68, 0.15);
}

.btn-sm {
    padding: 4px 8px;
    font-size: 11px;
    min-height: 28px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ==================== ALERTS PANEL ==================== */

.alert-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-form .form-group {
    margin-bottom: 8px;
}

.alerts-list {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.alert-item:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert-item.triggered {
    opacity: 0.6;
    border-left: 3px solid #10b981;
}

.alert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.alert-symbol {
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 13px;
}

.alert-delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    transition: color 0.2s;
    line-height: 1;
}

.alert-delete-btn:hover {
    color: #c41e3a;
}

.alert-condition {
    font-size: 11px;
    color: var(--text-secondary);
}

.alert-status {
    font-size: 10px;
    color: #10b981;
    font-weight: 600;
}

/* ==================== DRAWINGS PANEL ==================== */

.drawing-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.tool-btn {
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-btn:hover {
    border-color: var(--border-primary);
    background: var(--bg-elevated);
}

.tool-btn.active {
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.3);
}

.color-picker {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.color-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-secondary);
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 8px currentColor;
}

.drawings-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.2s ease;
}

.drawing-item:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

.drawing-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawing-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.drawing-price {
    color: var(--text-secondary);
    font-size: 11px;
}

.drawing-delete-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0 4px;
    font-size: 12px;
    transition: color 0.2s;
}

.drawing-delete-btn:hover {
    color: #c41e3a;
}

.drawing-instructions {
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==================== INDICATORS PANEL ==================== */

.indicator-section {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-secondary);
}

.indicator-section:last-child {
    border-bottom: none;
}

.indicator-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}

.indicator-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.indicator-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.indicator-settings {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin-top: 8px;
}

.indicator-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.indicator-setting label {
    font-size: 11px;
    color: var(--text-secondary);
    flex: 1;
}

.indicator-setting input[type="number"] {
    width: 60px;
    padding: 4px 6px;
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 3px;
    color: var(--text-primary);
    font-size: 11px;
}

.indicator-setting input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* ==================== FILTERS PANEL ==================== */

.filter-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.filter-group label {
    font-size: 11px;
    color: var(--text-secondary);
}

.filter-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.active-filters-info {
    padding: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
}

/* ==================== LISTINGS PANEL ==================== */

.listings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.listing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 6px;
    padding: 10px;
    transition: all 0.2s ease;
}

.listing-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.listing-coin {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-primary);
}

.listing-badges {
    display: flex;
    gap: 4px;
}

.listing-badge {
    padding: 2px 6px;
    background: var(--bg-primary);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.listing-badge.exchange {
    background: rgba(184, 134, 11, 0.2);
    color: var(--accent-primary);
}

.listing-badge.new {
    background: #10b981;
    color: #fff;
}

.listing-badge.upcoming {
    background: #f59e0b;
    color: #fff;
}

.listing-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    color: var(--text-secondary);
}

.listing-date {
    font-weight: 600;
}

.listing-source {
    font-style: italic;
    opacity: 0.8;
}

/* ==================== SETTINGS PANEL ==================== */

.settings-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-secondary);
    overflow-x: auto;
    padding-bottom: 8px;
}

.settings-tab {
    padding: 8px 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.settings-tab:hover {
    color: var(--text-primary);
}

.settings-tab.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.settings-content {
    display: none;
}

.settings-content.active {
    display: block;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-secondary);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.setting-description {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.setting-control input[type="checkbox"],
.setting-control input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent-primary);
}

.setting-control select {
    padding: 4px 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 3px;
    color: var(--text-primary);
    font-size: 11px;
    cursor: pointer;
}

.setting-control select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* ==================== LIGHT THEME ==================== */

[data-theme="light"] .right-panel {
    background: #ffffff;
    border-left-color: #e5e7eb;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .right-panel-overlay {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

[data-theme="light"] .panel-header {
    background: #f8f9fa;
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] #panel-title {
    color: #b8860b;
}

[data-theme="light"] .panel-close:hover {
    background: #f1f3f5;
}

[data-theme="light"] .panel-section {
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .panel-section h4 {
    color: #b8860b;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus {
    border-color: #b8860b;
    background: #f9fafb;
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.1);
}

[data-theme="light"] .btn-primary {
    background: #b8860b;
    color: #ffffff;
}

[data-theme="light"] .btn-primary:hover:not(:disabled) {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .btn-secondary {
    background: #f8f9fa;
    color: #111827;
    border-color: #d1d5db;
}

[data-theme="light"] .btn-secondary:hover:not(:disabled) {
    background: #f1f3f5;
    border-color: #b8860b;
}

[data-theme="light"] .btn-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
}

[data-theme="light"] .btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.15);
}

[data-theme="light"] .alert-item {
    background: #f8f9fa;
    border-color: #e5e7eb;
}

[data-theme="light"] .alert-item:hover {
    background: #ffffff;
    border-color: #b8860b;
}

[data-theme="light"] .alert-symbol {
    color: #b8860b;
}

[data-theme="light"] .tool-btn {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

[data-theme="light"] .tool-btn:hover {
    background: #f9fafb;
    border-color: #b8860b;
}

[data-theme="light"] .tool-btn.active {
    background: #b8860b;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .color-btn {
    border-color: #d1d5db;
}

[data-theme="light"] .drawing-item {
    background: #f8f9fa;
    border-color: #e5e7eb;
}

[data-theme="light"] .drawing-item:hover {
    background: #ffffff;
    border-color: #b8860b;
}

[data-theme="light"] .drawing-instructions {
    background: #f1f3f5;
    color: #4b5563;
}

[data-theme="light"] .indicator-settings {
    background: #f8f9fa;
}

[data-theme="light"] .indicator-setting input[type="number"] {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

[data-theme="light"] .listing-card {
    background: #f8f9fa;
    border-color: #e5e7eb;
}

[data-theme="light"] .listing-card:hover {
    background: #ffffff;
    border-color: #b8860b;
}

[data-theme="light"] .listing-coin {
    color: #b8860b;
}

[data-theme="light"] .listing-badge.exchange {
    background: rgba(184, 134, 11, 0.1);
    color: #b8860b;
}

[data-theme="light"] .settings-tab {
    color: #4b5563;
}

[data-theme="light"] .settings-tab:hover {
    color: #111827;
}

[data-theme="light"] .settings-tab.active {
    color: #b8860b;
    border-bottom-color: #b8860b;
}

[data-theme="light"] .setting-item {
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .setting-control select {
    background: #ffffff;
    border-color: #d1d5db;
    color: #111827;
}

[data-theme="light"] .panel-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
}

[data-theme="light"] .panel-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ==================== RESPONSIVE ==================== */

/* На DESKTOP: скрыть оверлей (панель не перекрывает весь экран) */
@media (min-width: 1025px) {
    .right-panel-overlay {
        display: none !important;
    }
}

@media (max-width: 1400px) {
    .right-panel {
        width: 340px;
    }
}

@media (max-width: 1024px) {
    .right-panel {
        width: 320px;
    }

    /* На планшете и мобиле: показать оверлей */
    .right-panel-overlay {
        display: block !important;
    }

    .panel-content {
        padding: 12px;
    }

    .panel-section {
        margin-bottom: 16px;
    }

    .panel-section h4 {
        font-size: 12px;
    }

    .form-input,
    .form-select {
        font-size: 12px;
        padding: 6px 8px;
    }

    .btn {
        font-size: 11px;
        padding: 6px 10px;
    }

    .alerts-list,
    .drawings-list {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .right-panel {
        width: 100%;
        max-width: 100%;
        right: -100%;
    }

    .right-panel.active {
        right: 0;
    }

    .right-panel-overlay {
        display: block !important;
    }

    .panel-header {
        height: 44px;
    }

    .panel-content {
        padding: 12px;
    }

    .drawing-tools {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        grid-template-columns: 1fr;
    }

    .alerts-list,
    .drawings-list,
    .listings-list {
        max-height: 40vh;
    }

    .settings-tabs {
        gap: 2px;
    }

    .settings-tab {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .right-panel {
        height: 100vh;
        top: 0;
        width: 100%;
        right: -100%;
    }

    .right-panel.active {
        right: 0;
    }

    .right-panel-overlay {
        display: block !important;
    }

    .panel-header {
        height: 48px;
    }

    .panel-content {
        padding: 10px;
    }

    .panel-section {
        margin-bottom: 12px;
    }

    .form-input,
    .form-select {
        font-size: 13px;
    }

    .btn {
        font-size: 12px;
    }

    .drawing-tools {
        grid-template-columns: 1fr 1fr;
    }

    .color-picker {
        gap: 6px;
    }

    .color-btn {
        width: 28px;
        height: 28px;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        grid-template-columns: 1fr;
    }

    #panel-title {
        font-size: 13px;
    }

    .panel-close {
        min-width: 28px;
        height: 28px;
    }

    .alert-item,
    .drawing-item,
    .listing-card {
        padding: 8px;
    }
}

/* ==================== PRINT ==================== */

@media print {
    .right-panel,
    .right-panel-overlay {
        display: none !important;
    }
}

/* ==================== ANIMATIONS ==================== */

@keyframes slideInPanel {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.panel-content > * {
    animation: slideInPanel 0.15s ease forwards;
    animation-delay: calc(0.02s * var(--index, 0));
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.right-panel-overlay.active {
    animation: fadeInOverlay 0.3s ease;
}

/* ==================== ACCESSIBILITY ==================== */

.btn:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Поддержка prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .right-panel,
    .right-panel-overlay,
    .btn,
    .form-input,
    .form-select {
        transition: none;
        animation: none;
    }
}

/* ==================== PERFORMANCE ==================== */

.right-panel {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.panel-content {
    will-change: scroll-position;
    contain: layout style paint;
}

.right-panel-overlay {
    will-change: opacity;
    transform: translateZ(0);
}

/* ==================== UTILITIES ==================== */

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 12px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 12px;
}

.p-2 {
    padding: 8px;
}

.p-3 {
    padding: 12px;
}