@charset "utf-8";

/* 폰트 로드 (Pretendard) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

.ra0-com-wrapper, .ra0-form-container {
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* [List] 명함 디자인 */
.ra0-com-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 40px 20px;
    background: #fff; /* 배경색 */
}

.ra0-business-card {
    display: block;
    width: 400px;
    height: 240px;
    background: #fff;
    border: 1px solid #e5e5e5;
    position: relative;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.ra0-business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #000;
}

.card-front {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-header { display: flex; justify-content: space-between; align-items: center; }
.status-badge { font-size: 10px; font-weight: 700; background: #000; color: #fff; padding: 2px 6px; }
.brand-name { font-size: 11px; font-weight: 600; color: #aaa; letter-spacing: 1px; }

.designer-title { font-size: 24px; font-weight: 800; line-height: 1.2; color: #111; margin: 0; }
.designer-desc { font-size: 13px; color: #666; margin-top: 10px; font-weight: 400; }

.card-footer { text-align: right; }
.click-guide { font-size: 12px; font-weight: 600; color: #000; border-bottom: 1px solid #000; padding-bottom: 2px; }

.bg-deco {
    position: absolute;
    bottom: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

/* [Write] 폼 디자인 */
.ra0-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.form-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.form-header h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; letter-spacing: 2px; }
.form-header p { font-size: 13px; color: #888; }

.form-group { margin-bottom: 24px; }
.group-label { display: block; font-size: 12px; font-weight: 700; color: #000; margin-bottom: 8px; letter-spacing: 0.5px; text-transform: uppercase; }

/* 입력창 */
.ra0-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
    background: transparent;
    transition: border-color 0.3s;
    border-radius: 0;
}
.ra0-input:focus { outline: none; border-bottom-color: #000; }

.ra0-textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    resize: none;
    background: #fafafa;
}
.ra0-textarea:focus { outline: none; border-color: #000; background: #fff; }

/* 카테고리 버튼 */
.category-selector { display: flex; gap: 10px; flex-wrap: wrap;}
.radio-box { flex: 1; min-width: 100px; }
.radio-box input { display: none; }
.radio-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border: 1px solid #ddd;
    background: #fff;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.radio-box input:checked + .radio-btn {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: 700;
}

/* 버튼 */
.form-actions { display: flex; gap: 10px; margin-top: 40px; }
.btn-submit {
    flex: 2;
    background: #000;
    color: #fff;
    border: none;
    height: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.btn-cancel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    height: 50px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}