/* General Styles */
.container-m, .container {
    max-width: 600px!important;
    margin: 30px auto;
    padding: 0 15px !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
}

a {
    transition: all 0.3s ease;
    text-decoration: none!important;
}

/* Custom Bootstrap Overrides */
.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(to right, #7a5e11, #f2d06b);
    border-color: #926c04;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}



/* Form Styles */
.form-control {
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Table Styles */
.table {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table th {
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .login-container,
    .form-container {
        padding: 15px;
    }

    .btn-block {
        display: block;
        width: 100%;
    }
}

/* Custom Utility Classes */
.bg-light-gray {
    background-color: #f4f4f4;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.25rem;
}

/* Custom Components */
.user-info {
    border-radius: 0.5rem;
}

.feature-box {
    background-color: #8f9984;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}




/* 티머니 쇼핑몰 공통 스타일 */
.tmoney-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* 컬러 시스템 */
.tmoney-color-primary {
    color: #4CAF50;
}

.tmoney-bg-primary {
    background-color: #4CAF50;
}

.tmoney-color-secondary {
    color: #FF9800;
}

.tmoney-bg-secondary {
    background-color: #FF9800;
}

/* 카드 컴포넌트 */
.tmoney-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 15px;
}

.tmoney-card-header {
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.tmoney-card-body {
    padding: 15px;
}

.tmoney-card-footer {
    padding: 15px;
    border-top: 1px solid #f5f5f5;
}

/* 버튼 */
.tmoney-btn {
    display: inline-block;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tmoney-btn-primary {
    background-color: #4CAF50;
    color: white;
}

.tmoney-btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.tmoney-btn-block {
    display: block;
    width: 100%;
}

/* 타이포그래피 */
.tmoney-h1 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.tmoney-h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.tmoney-text-sm {
    font-size: 0.85rem;
}

.tmoney-text-muted {
    color: #888;
}

/* 그리드 시스템 */
.tmoney-grid {
    display: grid;
    gap: 15px;
}

.tmoney-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tmoney-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tmoney-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 폼 요소 */
.tmoney-form-group {
    margin-bottom: 15px;
}

.tmoney-form-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.tmoney-form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: #fafafa;
}

/* 하단 네비게이션 */
.tmoney-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    height: 60px;
    z-index: 100;
}

.tmoney-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    text-decoration: none;
    font-size: 0.7rem;
}

.tmoney-nav-item.active {
    color: #4CAF50;
}

.tmoney-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* 페이지 컨텐츠 패딩 (하단 네비게이션 공간 확보) */
.tmoney-page-content {
    padding-bottom: 80px;
}