@charset "utf-8";

/* Printown Shop Common Framework 
   Prefix: .pt-
*/

:root {
    --pt-primary: #667eea;
    --pt-primary-dark: #5a67d8;
    --pt-secondary: #f8f9fa;
    --pt-text: #495057;
    --pt-text-light: #868e96;
    --pt-border: #f1f3f5;
    --pt-bg: #fafafa;
}

/* Layout & Container */
.pt-wrapper {
    background-color: var(--pt-bg);
    min-height: 100vh;
    padding: 40px 0;
}

.pt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pt-header {
    text-align: center;
    margin-bottom: 40px;
}

.pt-title-lg {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.pt-desc {
    color: var(--pt-text-light);
    font-size: 14px;
}

/* Card Component */
.pt-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* 마이페이지와 동일한 쉐도우 */
    overflow: hidden;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--pt-border);
}

.pt-card-nopad {
    padding: 0;
}

/* Table Component (Unified) */
.pt-table {
    width: 100%;
    border-collapse: collapse;
}

.pt-table th {
    background: #f8f9fa;
    /* 마이페이지와 동일한 배경색 */
    padding: 15px 20px;
    text-align: center;
    /* 기본 센터 */
    font-size: 13px;
    color: #868e96;
    /* 마이페이지와 동일한 폰트 색상 */
    font-weight: 600;
    border-bottom: 1px solid var(--pt-border);
}

.pt-table th.text-left {
    text-align: left;
}

.pt-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--pt-border);
    font-size: 14px;
    color: var(--pt-text);
    vertical-align: middle;
}

.pt-table tr:last-child td {
    border-bottom: none;
}

.pt-table tr:hover td {
    background-color: #f8f9fa;
}

/* Image in Table */
.pt-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--pt-border);
}

/* Buttons */
.pt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    /* 마이페이지 버튼은 12px일수도 있으나 일반 버튼은 8px */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    line-height: 1.5;
}

.pt-btn-primary {
    background: var(--pt-primary);
    color: white;
}

.pt-btn-primary:hover {
    background: var(--pt-primary-dark);
}

.pt-btn-outline {
    background: white;
    border: 1px solid #ddd;
    color: var(--pt-text);
}

.pt-btn-outline:hover {
    background: #f8f9fa;
}

.pt-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.pt-btn-lg {
    padding: 14px 40px;
    font-size: 16px;
}

.pt-btn-full {
    width: 100%;
}

.pt-btn-red {
    background: white;
    color: #fa5252;
    border: 1px solid #ffc9c9;
}

.pt-btn-red:hover {
    background: #fff5f5;
}


/* Form Inputs */
.pt-input {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
}

.pt-input:focus {
    border-color: var(--pt-primary);
    outline: none;
}

/* Checkbox */
.pt-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Badge */
.pt-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.pt-badge-green {
    background: #d3f9d8;
    color: #2f9e44;
}

.pt-badge-yellow {
    background: #fff3bf;
    color: #f59f00;
}

.pt-badge-gray {
    background: #f1f3f5;
    color: #868e96;
}

/* Utilities */
.pt-flex {
    display: flex;
}

.pt-flex-center {
    align-items: center;
    justify-content: center;
}

.pt-flex-between {
    justify-content: space-between;
}

.pt-items-center {
    align-items: center;
}

.pt-gap-2 {
    gap: 0.5rem;
}

.pt-gap-4 {
    gap: 1rem;
}

.pt-mt-2 {
    margin-top: 1rem;
}

.pt-mt-4 {
    margin-top: 2rem;
}

.pt-mb-4 {
    margin-bottom: 2rem;
}

.pt-text-right {
    text-align: right;
}

.pt-text-center {
    text-align: center;
}

.pt-w-full {
    width: 100%;
}