.guild_container {
  font-size: 1em;
  word-break: keep-all;
}

@media only screen and (max-device-width: 640px) {
  .guild_container {
    padding-left: 5px;
    padding-right: 5px;
  }

	.list_table .guild_name {
		margin-left: 30px;
		width: 60%;
	}

	.list_table .guild_info {
		width: 0;
		display: none;
	}

  .swal2-title {
    font-size: 0.8em;
  }

  .swal2-content {
    font-size: 0.8em;
  }
}

@media only screen and (max-device-width: 768px) {
  .guild_container {
    padding-left: 5px;
    padding-right: 5px;
  }

	.list_table .guild_name {
		margin-left: 30px;
		width: 60%;
	}

	.list_table .guild_info {
		width: 0;
		display: none;
	}

  .swal2-title {
    font-size: 0.8em;
  }

  .swal2-content {
    font-size: 0.8em;
  }
}

.gd_width_full {
  width: 100%;
}

.gd_input {
  -webkit-transition: border-color 150ms ease-in-out,
    -webkit-box-shadow 150ms ease-in-out;
  border: 1px solid #e5e5e5;

  display: inline-block;
  height: 32px;
  line-height: 1.3em;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
  border-radius: 2px;
  vertical-align: middle;
}

.gd_textarea {
  -webkit-transition: border-color 150ms ease-in-out,
    -webkit-box-shadow 150ms ease-in-out;
  border: 1px solid #e5e5e5;

  display: inline-block;
  height: 80px;
  line-height: 1.3em;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
  border-radius: 2px;
  vertical-align: middle;
}

.gd_textarea:focus,
.gd_input:focus {
  border: 1px solid #2196f3;
  box-shadow: 0 0 8px #719ece;
}

.gd_button {
    font-size: 1.2em;
    text-align: center;
    cursor: pointer !important;
    padding: 10px 17px !important;
    margin: 1px !important;
    outline: none;
    border: none;
    border-radius: 4px;
    text-decoration: none !important;
    transition: 200ms;
  	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	background-color:#ededed;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#2e2e2e;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}

/* 다른 CSS보다 우선순위를 높이기 위해 중첩 구조 사용 */
body .guild_container .gd_button.basic,
body #table_guild_member .gd_button.basic,
.gd_button.basic {
    display: inline-block !important;
    cursor: pointer !important;
    padding: 8px 18px !important;
    margin: 2px !important;

    /* 배경색과 글자색 (가독성 확보) */
    background-color: #cc7000 !important;
    color: #ffffff !important;

    /* 테두리 둥글게 - 8px로 수치를 키워 확실히 티나게 설정 */
    border: 1px solid #e67e00 !important;
    border-radius: 8px !important; 
    -webkit-border-radius: 8px !important; /* 구형 브라우저 대응 */
    -moz-border-radius: 8px !important;

    /* 가독성 저해 요소 제거 */
    text-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
    
    font-size: 14px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s;
}

/* 마우스 올렸을 때 */
body .gd_button.basic:hover {
    background-color: #e67e00 !important;
    border-color: #cc7000 !important;
    color: #ffffff !important;
}

.gd_button.round {
  border-radius: 100px !important;
}

.gd_button.shadow {
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
}

.gd_button.shadow:hover {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.gd_button.shadow:active {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.gd_button.waves-effect {
  /* todo */
}

.gd_button.primary {
	box-shadow:inset 0px 1px 0px 0px #f9eca0;
	background:linear-gradient(to bottom, #f0c911 5%, #f2ab1e 100%);
	background-color:#f0c911;
	border-radius:6px;
	border:1px solid #e65f44;
	display:inline-block;
	cursor:pointer;
	color:#c92200;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ded17c;
}

.gd_button.primary:hover {
	background:linear-gradient(to bottom, #f2ab1e 5%, #f0c911 100%);
	background-color:#f2ab1e;
}

.gd_button.success {
	box-shadow:inset 0px 1px 0px 0px #97c4fe;
	background:linear-gradient(to bottom, #3d94f6 5%, #1e62d0 100%);
	background-color:#3d94f6;
	border-radius:6px;
	border:1px solid #337fed;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #1570cd;
}

.gd_button.success:hover {
	background:linear-gradient(to bottom, #1e62d0 5%, #3d94f6 100%);
	background-color:#1e62d0;
}

.gd_button.danger {
	box-shadow:inset 0px 1px 0px 0px #f29c93;
	background:linear-gradient(to bottom, #fe1a00 5%, #ce0100 100%);
	background-color:#fe1a00;
	border-radius:6px;
	border:1px solid #d83526;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #b23e35;
}

.gd_button.danger:hover {
	background:linear-gradient(to bottom, #ce0100 5%, #fe1a00 100%);
	background-color:#ce0100;
}

.gd_center {
  text-align: center;
}

.gd_line {
  line-height: 1.8em;
}

.gd_padding_1em {
  padding: 1em;
}

.text-danger {
  color: red;
}

.gd_mini_logo {
  width: 100px;
  height: 100px;
  border-radius: 5%;
}

.guild_editor {
  margin: 15px;
}

.wrap_set {
  font-size: 14px;
  background: #fff;
  border-radius: 1px;
  border: 1px solid #e0e5ee;
}

.list_table {
  width: 100%;
  font-size: 1em;
  vertical-align: middle;
  text-decoration: none;
  border-collapse: collapse;
}

.list_table th,
.list_table td {
  width: 600px;
  height: 80px;
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.list_table tr:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}

.list_table .guild_name {
  margin-left: 30px;
  width: 30%;
}

.list_table .guild_info {
	width: 30%;
	text-align: center;
}

.list_table .guild_rank {
  width: 20%;
}

.list_img {
  margin-left: 30px !important;
}

.square {
  float: left;
  position: relative;
  width: 70%;
  padding-bottom: 70%; /* = width for a 1:1 aspect ratio */
  margin: 1.66%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover; /* you change this to "contain" if you don't want the images to be cropped */
  border-radius: 5%;
}

.gd_module_block {
  background-image: url("https://api.hoto.dev/get/module.gif"), url("data:image/gif;base64,R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==");
  background-repeat: no-repeat;
}

.gd_link {
  color: white;
}

.gd_usermenu {
  width: 100%;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gd_usermenu::-webkit-scrollbar {
  display: none;
}

.list_logo {
  width: 100%;
  padding-bottom: 100%;
  cursor: pointer;
}

@media (min-width: 320px) and (max-width: 767px) {
  .list_table .guild_logo {
    margin-left: 0;
    width: 30%;
  }

  .list_table .guild_name {
    margin-left: 0;
    width: 40%;
  }

  .list_table .guild_rank {
    width: 30%;
  }

  .list_img {
    margin: 1.66% !important;
  }
}

/* 하단위젯추가 */
.ms_wrapper1 {
	margin: 10px;
}

hr {
    background:#353535;
    height:1px;
    border:0;
}

/* ?? 모바일 2개 고정 */
@media (max-width: 768px) {
    .sub_photo {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .sub_photo .guild_item {
        padding: 10px 5px;
    }

    .sub_photo .square.list_logo {
        width: 90px;
        height: 90px;
    }

    .sub_photo .guild_name_link {
        font-size: 14px;
    }

    .sub_photo .tx_brief {
        font-size: 12px;
    }
}


/* edit 디자인 */

body {
background-color: #121212;
color: #e0e0e0;
font-family: sans-serif;
margin: 0;
padding: 20px;
}
.guild_editor {
max-width: 900px;
margin: 0 auto;
padding: 40px;
background: #1e1e1e;
border: 1px solid #333;
border-radius: 0;
}
.gd_input, .gd_textarea {
background-color: #2a2a2a;
border: 1px solid #444;
color: #d1d1d1;
padding: 15px;
font-size: 1rem;
border-radius: 0;
}
.gd_width_full {
width: 100%;
box-sizing: border-box;
}
.gd_input[readonly] {
background-color: #161616;
border-color: #2a2a2a;
color: #555;
cursor: not-allowed;
}
label strong {
color: #ffffff;
font-size: 1rem;
display: inline-block;
margin-bottom: 8px;
}
.help-block {
display: block;
margin-top: 8px;
font-size: 0.85rem;
color: #777;
}
hr {
border: 0;
border-top: 1px solid #333;
margin: 40px 0;
}
/* 하단 버튼 영역 - 수정/취소 버튼 완전 통일 /
.centralize {
display: flex;
gap: 10px; / 버튼 사이 간격 /
justify-content: center;
margin-top: 40px;
}
/ 모든 일반 버튼 기본 스타일 강제 통일 /
.gd_button {
flex: 1; / 너비 동일하게 분배 /
height: 55px;
font-size: 1.1rem;
font-weight: bold;
border-radius: 0 !important; / 각진 디자인 강제 /
cursor: pointer;
transition: all 0.2s;
box-sizing: border-box;
}
/ 수정(success) 버튼과 취소 버튼의 색상/테두리 통일 /
.gd_button.success,
.gd_button[type="button"] {
background-color: #333 !important;
color: #ffffff !important;
border: 1px solid #555 !important;
}
.gd_button.success:hover,
.gd_button[type="button"]:hover {
background-color: #444 !important;
border-color: #777 !important;
}
/ 해체하기 버튼 - 이미지의 버튼 크기에 맞춰 정밀 수정 /
.gd_button.danger {
width: auto !important;     / 고정 너비 해제 /
flex: none !important;      / 부모 flex 영향을 받지 않도록 설정 /
padding: 8px 15px !important; / 이미지처럼 아담한 높이와 좌우 여백 /
margin-top: 60px;
height: auto !important;    / 고정 높이 해제 /
background-color: #b30000 !important;
color: #ffffff !important;
border: none !important;
font-size: 0.9rem !important; / 글자 크기도 살짝 줄여서 비율 최적화 */
display: inline-block;
}
.gd_button.danger:hover {
background-color: #e60000 !important;
}
#img_guild_logo {
border: 1px solid #444;
background-color: #000;
border-radius: 0;
}

/* =========================
   SWEETALERT 다크모드 (텍스트 노란색)
========================= */

/* 전체 배경 */
.swal2-popup {
    background: #1e1e1e !important;
    color: #f5f5f5 !important;
}

/* 제목 */
.swal2-title {
    color: #ffffff !important;
    font-weight: 600;
}

/* 🔥 핵심 (여기만 노란색) */
.swal2-content,
.swal2-html-container {
    color: #ffd369 !important; /* 회색 → 노란색 */
    line-height: 1.6;
}

/* 입력창 */
.swal2-input,
.swal2-textarea,
.swal2-select {
    background: #2a2a2a !important;
    color: #ffffff !important;
    border: 1px solid #555 !important;
}

/* placeholder */
.swal2-input::placeholder,
.swal2-textarea::placeholder {
    color: #aaa !important;
}

/* 버튼 */
.swal2-confirm {
    background: #3a7afe !important;
    color: #ffffff !important;
}

.swal2-cancel {
    background: #555 !important;
    color: #ffffff !important;
}

/* hover */
.swal2-confirm:hover {
    background: #5a95ff !important;
}

.swal2-cancel:hover {
    background: #666 !important;
}