/* Shortlink 모듈 기본 스타일 */

/* 라이믹스 기본 css 초기화용 (지우지 말것) */
body {margin:0}

/* 기본 레이아웃 */
.shortlink_view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.shortlink_container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* 프로필 영역 */
.shortlink_profile {
  margin-bottom: 30px;
}

.shortlink_profile_image {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.3);
}

.shortlink_profile_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shortlink_title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.shortlink_subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* SNS 아이콘 */
.shortlink_social_list {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.shortlink_social_icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 18px;
}

.shortlink_social_icon:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

/* 커스텀 SNS 아이콘 이미지 */
.shortlink_social_icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: none;
}

/* 링크 버튼 */
.shortlink_button_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.shortlink_button {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid;
  width: 100%;
  max-width: 400px;  /* 400px로 수정 */
  margin: 0 auto;  /* 가운데 정렬 */
}

.shortlink_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 버튼 스타일 */
.shortlink_button_rounded {
  border-radius: 12px;
}

.shortlink_button_pill {
  border-radius: 50px;
}

.shortlink_button_square {
  border-radius: 0;
}

/* ========== 테마 스타일 ========== */

/* 기본 테마 */
.theme-default {
  background-color: #ffffff;
  color: #333333;
}
.theme-default .shortlink_title { color: #333333; }
.theme-default .shortlink_subtitle { color: #666666; }
.theme-default .shortlink_social_icon { 
  background: #f0f0f0; 
  color: #666666; 
}
.theme-default .shortlink_button {
  background: #4CAF50;
  color: #ffffff;
  border-color: #4CAF50;
}

/* 다크 테마 */
.theme-dark {
  background-color: #1a1a1a;
  color: #ffffff;
}
.theme-dark .shortlink_title { color: #ffffff; }
.theme-dark .shortlink_subtitle { color: #cccccc; }
.theme-dark .shortlink_social_icon { 
  background: rgba(255,255,255,0.1);
  color: #ffffff; 
}
.theme-dark .shortlink_button {
  background: #333333;
  color: #ffffff;
  border-color: #555555;
}

/* 오션 테마 */
.theme-ocean {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}
.theme-ocean .shortlink_title { color: #ffffff; }
.theme-ocean .shortlink_subtitle { color: #f0f0ff; }
.theme-ocean .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-ocean .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

/* 선셋 테마 */
.theme-sunset {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  color: #333333;
}
.theme-sunset .shortlink_title { color: #e65100; }
.theme-sunset .shortlink_subtitle { color: #ff9800; }
.theme-sunset .shortlink_social_icon { 
  background: rgba(255,255,255,0.5);
  color: #ff9800; 
}
.theme-sunset .shortlink_button {
  background: #ff6d00;
  color: #ffffff;
  border-color: #ff6d00;
}

/* 포레스트 테마 */
.theme-forest {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #2e7d32;
}
.theme-forest .shortlink_title { color: #2e7d32; }
.theme-forest .shortlink_subtitle { color: #66bb6a; }
.theme-forest .shortlink_social_icon { 
  background: rgba(255,255,255,0.6);
  color: #4caf50; 
}
.theme-forest .shortlink_button {
  background: #388e3c;
  color: #ffffff;
  border-color: #388e3c;
}

/* 라벤더 테마 */
.theme-lavender {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #6a1b9a;
}
.theme-lavender .shortlink_title { color: #6a1b9a; }
.theme-lavender .shortlink_subtitle { color: #ab47bc; }
.theme-lavender .shortlink_social_icon { 
  background: rgba(255,255,255,0.6);
  color: #9c27b0; 
}
.theme-lavender .shortlink_button {
  background: #7b1fa2;
  color: #ffffff;
  border-color: #7b1fa2;
}

/* 미니멀 테마 */
.theme-minimal {
  background: #fafafa;
  color: #212121;
}
.theme-minimal .shortlink_title { color: #212121; }
.theme-minimal .shortlink_subtitle { color: #757575; }
.theme-minimal .shortlink_social_icon { 
  background: #ffffff;
  color: #424242;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.theme-minimal .shortlink_button {
  background: #ffffff;
  color: #212121;
  border-color: #e0e0e0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 그라데이션 핑크 테마 */
.theme-gradient_pink {
  background: linear-gradient(135deg, #fce4ec 0%, #f06292 100%);
  color: #c2185b;
}
.theme-gradient_pink .shortlink_title { color: #c2185b; }
.theme-gradient_pink .shortlink_subtitle { color: #e91e63; }
.theme-gradient_pink .shortlink_social_icon { 
  background: rgba(255,255,255,0.5);
  color: #e91e63; 
}
.theme-gradient_pink .shortlink_button {
  background: #e91e63;
  color: #ffffff;
  border-color: #e91e63;
}

/* 네온 테마 */
.theme-neon {
  background: #0a0a0a;
  color: #ffffff;
}
.theme-neon .shortlink_title { 
  color: #00ffff;
  text-shadow: 0 0 20px #00ffff;
}
.theme-neon .shortlink_subtitle { 
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff;
}
.theme-neon .shortlink_social_icon { 
  background: transparent;
  color: #00ff00;
  border: 1px solid #00ff00;
  box-shadow: 0 0 10px #00ff00;
}
.theme-neon .shortlink_button {
  background: transparent;
  color: #ff00ff;
  border-color: #ff00ff;
  box-shadow: 0 0 10px #ff00ff;
}
.theme-neon .shortlink_button:hover {
  background: #ff00ff;
  color: #000000;
}

/* 블루 그라데이션 테마 */
.theme-gradient_blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}
.theme-gradient_blue .shortlink_title { color: #ffffff; }
.theme-gradient_blue .shortlink_subtitle { color: #f0f0ff; }
.theme-gradient_blue .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-gradient_blue .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

/* 오로라 테마 */
.theme-aurora {
  background: linear-gradient(45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  color: #ffffff;
}
.theme-aurora .shortlink_title { color: #ffffff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.theme-aurora .shortlink_subtitle { color: #ffffff; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.theme-aurora .shortlink_social_icon { 
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  backdrop-filter: blur(10px);
}
.theme-aurora .shortlink_button {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

/* 코랄 테마 */
.theme-coral {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 100%);
  color: #ffffff;
}
.theme-coral .shortlink_title { color: #ffffff; }
.theme-coral .shortlink_subtitle { color: #ffe0e0; }
.theme-coral .shortlink_social_icon { 
  background: rgba(255,255,255,0.3);
  color: #ffffff; 
}
.theme-coral .shortlink_button {
  background: #ffffff;
  color: #ff6b6b;
  border-color: #ffffff;
}

/* 민트 테마 */
.theme-mint {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #00695c;
}
.theme-mint .shortlink_title { color: #00695c; }
.theme-mint .shortlink_subtitle { color: #00897b; }
.theme-mint .shortlink_social_icon { 
  background: rgba(255,255,255,0.3);
  color: #00695c; 
}
.theme-mint .shortlink_button {
  background: rgba(255,255,255,0.3);
  color: #00695c;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

/* 피치 테마 */
.theme-peach {
  background: #fff5f3;
  color: #ff6b6b;
}
.theme-peach .shortlink_title { color: #ff6b6b; }
.theme-peach .shortlink_subtitle { color: #ffa07a; }
.theme-peach .shortlink_social_icon { 
  background: rgba(255,150,122,0.2);
  color: #ff8787; 
}
.theme-peach .shortlink_button {
  background: #ff6b6b;
  color: #ffffff;
  border-color: #ff6b6b;
}

/* 미드나잇 테마 */
.theme-midnight {
  background: #0f0c29;
  color: #ffffff;
}
.theme-midnight .shortlink_title { color: #ffffff; }
.theme-midnight .shortlink_subtitle { color: #a8a8a8; }
.theme-midnight .shortlink_social_icon { 
  background: rgba(99,102,241,0.2);
  color: #6366f1; 
}
.theme-midnight .shortlink_button {
  background: #6366f1;
  color: #ffffff;
  border-color: #6366f1;
}

/* 로즈골드 테마 */
.theme-rose_gold {
  background: #fdf4f5;
  color: #b76e79;
}
.theme-rose_gold .shortlink_title { color: #b76e79; }
.theme-rose_gold .shortlink_subtitle { color: #d4a5a5; }
.theme-rose_gold .shortlink_social_icon { 
  background: rgba(183,110,121,0.15);
  color: #c08b8b; 
}
.theme-rose_gold .shortlink_button {
  background: #b76e79;
  color: #ffffff;
  border-color: #b76e79;
}

/* 노르딕 테마 */
.theme-nordic {
  background: #eceff4;
  color: #2e3440;
}
.theme-nordic .shortlink_title { color: #2e3440; }
.theme-nordic .shortlink_subtitle { color: #4c566a; }
.theme-nordic .shortlink_social_icon { 
  background: #ffffff;
  color: #5e81ac; 
}
.theme-nordic .shortlink_button {
  background: #5e81ac;
  color: #ffffff;
  border-color: #5e81ac;
}

/* 트로피컬 테마 */
.theme-tropical {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
}
.theme-tropical .shortlink_title { color: #ffffff; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
.theme-tropical .shortlink_subtitle { color: #fff0f5; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
.theme-tropical .shortlink_social_icon { 
  background: rgba(255,255,255,0.3);
  color: #ffffff;
  backdrop-filter: blur(10px);
}
.theme-tropical .shortlink_button {
  background: rgba(255,255,255,0.3);
  color: #ffffff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

/* 크림슨 테마 */
.theme-crimson {
  background: linear-gradient(135deg, #DC143C, #8B0000);
  color: #ffffff;
}
.theme-crimson .shortlink_title { color: #ffffff; }
.theme-crimson .shortlink_subtitle { color: #ffcccc; }
.theme-crimson .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-crimson .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 로얄 테마 */
.theme-royal {
  background: linear-gradient(135deg, #4169E1, #000080);
  color: #ffffff;
}
.theme-royal .shortlink_title { color: #ffffff; }
.theme-royal .shortlink_subtitle { color: #e0e0ff; }
.theme-royal .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-royal .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 에메랄드 테마 */
.theme-emerald {
  background: linear-gradient(135deg, #50C878, #014421);
  color: #ffffff;
}
.theme-emerald .shortlink_title { color: #ffffff; }
.theme-emerald .shortlink_subtitle { color: #ccffcc; }
.theme-emerald .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-emerald .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 퍼플 헤이즈 테마 */
.theme-purple_haze {
  background: linear-gradient(135deg, #9370DB, #4B0082);
  color: #ffffff;
}
.theme-purple_haze .shortlink_title { color: #ffffff; }
.theme-purple_haze .shortlink_subtitle { color: #e6ccff; }
.theme-purple_haze .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-purple_haze .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 오션 브리즈 테마 */
.theme-ocean_breeze {
  background: linear-gradient(135deg, #00CED1, #005f5f);
  color: #ffffff;
}
.theme-ocean_breeze .shortlink_title { color: #ffffff; }
.theme-ocean_breeze .shortlink_subtitle { color: #b0ffff; }
.theme-ocean_breeze .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-ocean_breeze .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 선셋 글로우 테마 */
.theme-sunset_glow {
  background: linear-gradient(135deg, #FF6347, #FF1493);
  color: #ffffff;
}
.theme-sunset_glow .shortlink_title { color: #ffffff; }
.theme-sunset_glow .shortlink_subtitle { color: #ffe0ec; }
.theme-sunset_glow .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-sunset_glow .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 코스믹 테마 */
.theme-cosmic {
  background: linear-gradient(135deg, #2E0854, #000000);
  color: #ffffff;
}
.theme-cosmic .shortlink_title { color: #ffffff; }
.theme-cosmic .shortlink_subtitle { color: #ccb3ff; }
.theme-cosmic .shortlink_social_icon { 
  background: rgba(255,255,255,0.1);
  color: #ffffff; 
}
.theme-cosmic .shortlink_button {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
}

/* 느와르 테마 */
.theme-noir {
  background: #000000;
  color: #ffffff;
}
.theme-noir .shortlink_title { color: #ffffff; }
.theme-noir .shortlink_subtitle { color: #999999; }
.theme-noir .shortlink_social_icon { 
  background: #1a1a1a;
  color: #ffffff; 
}
.theme-noir .shortlink_button {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #333333;
}

/* 체리블라썸 테마 */
.theme-cherry_blossom {
  background: linear-gradient(135deg, #FFB7C5, #FF69B4);
  color: #333333;
}
.theme-cherry_blossom .shortlink_title { color: #333333; }
.theme-cherry_blossom .shortlink_subtitle { color: #666666; }
.theme-cherry_blossom .shortlink_social_icon { 
  background: rgba(255,255,255,0.5);
  color: #ff69b4; 
}
.theme-cherry_blossom .shortlink_button {
  background: rgba(255,255,255,0.5);
  color: #333333;
  border-color: rgba(255,255,255,0.6);
}

/* 딥 스페이스 테마 */
.theme-deep_space {
  background: linear-gradient(135deg, #000428, #004e92);
  color: #ffffff;
}
.theme-deep_space .shortlink_title { color: #ffffff; }
.theme-deep_space .shortlink_subtitle { color: #b3d9ff; }
.theme-deep_space .shortlink_social_icon { 
  background: rgba(255,255,255,0.1);
  color: #ffffff; 
}
.theme-deep_space .shortlink_button {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
}

/* 볼케닉 테마 */
.theme-volcanic {
  background: linear-gradient(135deg, #FF4500, #8B0000);
  color: #ffffff;
}
.theme-volcanic .shortlink_title { color: #ffffff; }
.theme-volcanic .shortlink_subtitle { color: #ffccb3; }
.theme-volcanic .shortlink_social_icon { 
  background: rgba(255,255,255,0.2);
  color: #ffffff; 
}
.theme-volcanic .shortlink_button {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}

/* 아이스 블루 테마 */
.theme-ice_blue {
  background: linear-gradient(135deg, #B0E0E6, #4682B4);
  color: #333333;
}
.theme-ice_blue .shortlink_title { color: #333333; }
.theme-ice_blue .shortlink_subtitle { color: #555555; }
.theme-ice_blue .shortlink_social_icon { 
  background: rgba(255,255,255,0.5);
  color: #4682b4; 
}
.theme-ice_blue .shortlink_button {
  background: rgba(255,255,255,0.5);
  color: #333333;
  border-color: rgba(255,255,255,0.6);
}

/* 골든 아워 테마 */
.theme-golden_hour {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #333333;
}
.theme-golden_hour .shortlink_title { color: #333333; }
.theme-golden_hour .shortlink_subtitle { color: #555555; }
.theme-golden_hour .shortlink_social_icon { 
  background: rgba(255,255,255,0.5);
  color: #ff8c00; 
}
.theme-golden_hour .shortlink_button {
  background: rgba(255,255,255,0.5);
  color: #333333;
  border-color: rgba(255,255,255,0.6);
}

/* 매트릭스 테마 */
.theme-matrix {
  background: #000000;
  color: #00ff00;
}
.theme-matrix .shortlink_title { 
  color: #00ff00; 
  text-shadow: 0 0 10px #00ff00;
}
.theme-matrix .shortlink_subtitle { 
  color: #00cc00; 
  text-shadow: 0 0 5px #00cc00;
}
.theme-matrix .shortlink_social_icon { 
  background: transparent;
  color: #00ff00;
  border: 1px solid #00ff00;
  box-shadow: 0 0 5px #00ff00;
}
.theme-matrix .shortlink_button {
  background: transparent;
  color: #00ff00;
  border-color: #00ff00;
  box-shadow: 0 0 5px #00ff00;
}
.theme-matrix .shortlink_button:hover {
  background: #00ff00;
  color: #000000;
}

/* 파스텔 드림 테마 */
.theme-pastel_dream {
  background: linear-gradient(135deg, #E6E6FA, #FFE4E1);
  color: #333333;
}
.theme-pastel_dream .shortlink_title { color: #333333; }
.theme-pastel_dream .shortlink_subtitle { color: #666666; }
.theme-pastel_dream .shortlink_social_icon { 
  background: rgba(255,255,255,0.6);
  color: #9999ff; 
}
.theme-pastel_dream .shortlink_button {
  background: rgba(255,255,255,0.6);
  color: #333333;
  border-color: rgba(255,255,255,0.7);
}

/* 사이버펑크 테마 */
.theme-cyberpunk {
  background: linear-gradient(135deg, #FF00FF, #00FFFF);
  color: #000000;
}
.theme-cyberpunk .shortlink_title { 
  color: #000000; 
  text-shadow: 2px 2px 0 #ff00ff;
}
.theme-cyberpunk .shortlink_subtitle { 
  color: #000000; 
  text-shadow: 1px 1px 0 #00ffff;
}
.theme-cyberpunk .shortlink_social_icon { 
  background: #000000;
  color: #00ffff; 
}
.theme-cyberpunk .shortlink_button {
  background: #000000;
  color: #ff00ff;
  border-color: #ff00ff;
}
.theme-cyberpunk .shortlink_button:hover {
  background: #ff00ff;
  color: #000000;
}

/* 트와일라잇 테마 */
.theme-twilight {
  background: linear-gradient(135deg, #483D8B, #2F4F4F);
  color: #ffffff;
}
.theme-twilight .shortlink_title { color: #ffffff; }
.theme-twilight .shortlink_subtitle { color: #ccccff; }
.theme-twilight .shortlink_social_icon { 
  background: rgba(255,255,255,0.15);
  color: #ffffff; 
}
.theme-twilight .shortlink_button {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-color: rgba(255,255,255,0.25);
}

/* 모노크롬 테마 */
.theme-monochrome {
  background: #2a2a2a;
  color: #ffffff;
}
.theme-monochrome .shortlink_title { color: #ffffff; }
.theme-monochrome .shortlink_subtitle { color: #b0b0b0; }
.theme-monochrome .shortlink_social_icon { 
  background: #404040;
  color: #ffffff; 
}
.theme-monochrome .shortlink_button {
  background: #404040;
  color: #ffffff;
  border-color: #606060;
}
.theme-monochrome .shortlink_button:hover {
  background: #606060;
}

/* 배경 이미지가 있을 때 */
.has-bg-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.has-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 0;
}
.has-bg-image .shortlink_container {
  position: relative;
  z-index: 1;
}
.has-bg-image .shortlink_title { 
  color: #ffffff !important; 
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}
.has-bg-image .shortlink_subtitle { 
  color: #ffffff !important; 
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); 
}
.has-bg-image .shortlink_social_icon { 
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px);
}
.has-bg-image .shortlink_button {
  background: rgba(255,255,255,0.2) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.3) !important;
  backdrop-filter: blur(10px);
}

/* 관리자 버튼 */
.shortlink_admin_buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.shortlink_admin_buttons a {
  padding: 10px 15px;
  background: rgba(0,0,0,0.7);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.shortlink_admin_buttons a:hover {
  background: rgba(0,0,0,0.9);
}

/* ========== Write Form Styles ========== */
.shortlink_write {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.shortlink_write_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.shortlink_write_form {
  width: 100%;
}

/* 섹션 스타일 */
.shortlink_section {
  margin-bottom: 40px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}

.shortlink_section_title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* 필드 스타일 */
.shortlink_field {
  margin-bottom: 20px;
}

.shortlink_field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.shortlink_field input[type="text"],
.shortlink_field input[type="url"],
.shortlink_field input[type="number"],
.shortlink_field input[type="file"],
.shortlink_field textarea,
.shortlink_field select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.shortlink_field textarea {
  resize: vertical;
  min-height: 80px;
}

.shortlink_field .required {
  color: #e74c3c;
}

/* 입력 그룹 */
.shortlink_input_group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.shortlink_help {
  font-size: 12px;
  color: #999;
}

/* 테마 그리드 */
.shortlink_theme_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.shortlink_theme_item {
  display: flex;
  align-items: center;
  padding: 10px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shortlink_theme_item:hover {
  border-color: #4CAF50;
}

.shortlink_theme_item input[type="radio"] {
  margin-right: 8px;
}

.shortlink_theme_item input[type="radio"]:checked + .shortlink_theme_label {
  font-weight: bold;
  color: #4CAF50;
}

.shortlink_theme_label {
  font-size: 14px;
}

/* 커스텀 색상 설정 */
.shortlink_custom_group {
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.shortlink_color_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.shortlink_color_input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.shortlink_color_input input[type="checkbox"] {
  margin-right: 5px;
}

.shortlink_color_input label {
  flex: 1;
  margin-bottom: 0;
  font-size: 13px;
}

.shortlink_color_input input[type="color"] {
  width: 50px;
  height: 35px;
  padding: 2px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

.shortlink_color_input input[type="color"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 버튼 항목 */
.shortlink_button_item,
.shortlink_social_item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.shortlink_button_item input[type="text"],
.shortlink_button_item input[type="url"] {
  flex: 1;
  min-width: 0;
}

.shortlink_social_item select {
  width: 150px;
  flex-shrink: 0;
}

.shortlink_social_item input[type="text"],
.shortlink_social_item input[type="url"] {
  flex: 1;
  min-width: 0;
}

/* 커스텀 아이콘 필드 */
.shortlink_custom_icon {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.shortlink_custom_icon input[type="file"] {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}

.shortlink_custom_icon small {
  color: #666;
  font-size: 12px;
}

/* 버튼 스타일 */
.shortlink_btn_remove {
  padding: 8px 15px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}

.shortlink_btn_remove:hover {
  background: #c0392b;
}

.shortlink_btn_add {
  padding: 10px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
}

.shortlink_btn_add:hover {
  background: #2980b9;
}

.shortlink_btn_clear {
  padding: 8px 15px;
  background: #95a5a6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.shortlink_btn_clear:hover {
  background: #7f8c8d;
}

/* 현재 파일 표시 */
.shortlink_current_file {
  margin-top: 10px;
  padding: 10px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
}

.shortlink_current_file label {
  display: inline-block;
  margin-right: 15px;
  font-weight: normal;
}

.shortlink_current_file input[type="radio"] {
  margin-right: 5px;
}

.shortlink_current_file p {
  margin: 10px 0 0 0;
  color: #666;
}

/* 폼 버튼 */
.shortlink_form_buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}

.shortlink_btn_submit {
  padding: 12px 40px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.shortlink_btn_submit:hover {
  background: #45a049;
}

.shortlink_btn_cancel {
  padding: 12px 40px;
  background: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
}

.shortlink_btn_cancel:hover {
  background: #5a6268;
}