* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Pretendard', Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

a {
    color: #333;
    transition: color 0.3s;
}

a:hover {
    color: #ff7a00;
}

input { 
    height: 40px;
    border-radius: 8px;
    outline: none;
    padding: 8px 12px;
    border: 1px solid #ddd;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #ff7a00;
}

#gender input {
    box-shadow: none;
}

#Bodywrap {
    width: 100%;
    min-height: 100vh;
    margin-top: 75px;
    display: flex;
    justify-content: center;
    position: relative;
    padding-bottom: 60px;
    font-size: 16px;
}

#Bodycontent {
    width: 1080px;
    max-width: 90%;
    margin-bottom: 60px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px; 
}

#Bodycontent h1 {
    font-size: 30px;  
    padding: 10px 0 20px 0;  
    color: #333;
    font-weight: 700;
}

.line {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #eee;
    margin: 15px 0;
}

#Userinfo {
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-radius: 12px;
    background-color: white;
    margin-bottom: 25px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;  
}

#Userinfo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff7a00;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
    transition: transform 0.3s;
}

#Userinfo img:hover {
    transform: scale(1.05);
}

#Userul {
    width: 70%;
    max-width: 600px;
    height: auto;
    padding: 20px;
    position: relative;
}

.userulbody {
    width: 100%;
    padding: 25px;
    background-color: #fff8ef;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.1);
    margin-top: 60px;
    font-weight: 500;
}

.userulbody li {
    margin: 12px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255, 122, 0, 0.1);  
    padding-bottom: 10px;
}

.userulbody li:last-child {
    border-bottom: none;  
    padding-bottom: 0;
}

.userulbody li span {
    padding: 5px 0;
}

#Edit {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 10px;
}

#Edit a {
    padding: 10px 18px; 
    background-color: #ff7a00;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(255, 122, 0, 0.2);
}

#Edit a:hover {
    background-color: #e56c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 122, 0, 0.3);
}

#Introduction {
    width: 100%;
    min-height: 80px;
    padding: 25px 30px;  
    background-color: white;
    border-radius: 12px;
    margin: 25px 0;  
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

#Introduction span {
    font-weight: 600;
    color: #ff7a00;
    font-size: 18px;
    display: block; 
    margin-bottom: 10px; 
}

#Introduction p {
    margin: 15px 0 0 0;
    line-height: 1.6;
    color: #555;
    padding-left: 5px; 
}

.addclubdiv {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    margin: 25px 0; 
}

.addclub {
    padding: 12px 28px; 
    background-color: #ff7a00;
    color: white !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(255, 122, 0, 0.3);
    display: inline-block;
    text-align: center;
}

.addclub:hover {
    background-color: #e56c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 122, 0, 0.4);
}

#heartIcon {
    font-size: 30px !important;
    cursor: pointer;
    transition: transform 0.3s;
}

#heartIcon:hover {
    transform: scale(1.2);
}

.fa-solid {
    animation: pop 0.4s ease;
}

@keyframes pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}

#contenttype {
    width: 100%;
    padding: 0 20px;
    margin: 25px 0 15px 0; 
    display: flex;
    border-bottom: 1px solid #eee;
}

#contenttype button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 0 20px 0 0; 
    padding: 12px 8px; 
    font-weight: 600;
    font-size: 16px;
    color: #777;
    transition: all 0.3s;
    position: relative;
}

#contenttype button:hover {
    color: #ff7a00;
}

#contenttype button.Active {
    color: #ff7a00;
}

#contenttype button.Active::after {
    content: '';
    position: absolute;
    bottom: -1px;  
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff7a00;
    border-radius: 3px 3px 0 0;
}

#calendardiv {
    visibility: hidden;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

#calendardiv.Active {
    visibility: visible;
    height: auto;
    padding: 20px;
}

#calendar {
    height: 600px;
    width: 100%;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.Contentul, .Contentul1 {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 25px 0; 
    transition: all 0.3s;
}

.Contentul.Active, .Contentul1.Active {
    display: flex;
}

.Contentli {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.03);  
}

.Contentli:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.Contentli .imagediv, .Contentli .imagediv1 {
    width: 280px;
    height: 180px;
    overflow: hidden;
}

.Contentli img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

.Contentli:hover img {
    transform: scale(1.1);
}

.Contentli ul {
    flex: 1;
    padding: 25px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Contentli li {
    margin-bottom: 12px; 
    line-height: 1.5;
    display: block;
    width: 100%;
}

.Contentli li:first-child {
    font-size: 18px;  
    font-weight: 600;
    color: #ff7a00; 
    margin-bottom: 15px;
}

.clubinfo {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px; 
}

.clubinfo span {
    background-color: #fff0e0;
    color: #ff7a00;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
}

#participantwrap {
    display: none;
}

#participantwrap.active1 {
    z-index: 1000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(3px);  
}

.participantbody {
    width: 500px;
    max-width: 90%;
    height: auto;
    max-height: 90vh;
    padding: 35px; 
    background-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popUp 0.3s ease;
}

.participantdiv {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 10px 0;
}

#participantwrap ul {
    width: 100%;
    padding: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff8f0;
}

#participantwrap ul h3 {
    color: #ff7a00;
    margin-bottom: 15px; 
    font-size: 18px;
}

#participantwrap ul li {
    margin: 10px 0;  
    line-height: 1.5;
}

#participantwrap button {
    padding: 12px 30px;  
    background-color: #ff7a00;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(255, 122, 0, 0.2); 
}

#participantwrap button:hover {
    background-color: #e56c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 122, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #Userinfo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    #Userul {
        width: 100%;
        margin-top: 20px;
    }
    
    #Edit {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px 0;
        justify-content: center;
    }
    
    .Contentli {
        flex-direction: column;
    }
    
    .Contentli .imagediv, .Contentli .imagediv1 {
        width: 100%;
        height: 200px;
    }
}

.fc .fc-toolbar-title {
    color: #ff7a00;
    font-weight: 600; 
}

.fc .fc-button-primary {
    background-color: #ff7a00;
    border-color: #ff7a00;
    box-shadow: 0 2px 5px rgba(255, 122, 0, 0.2); 
}

.fc .fc-button-primary:not(:disabled):hover {
    background-color: #e56c00;
    border-color: #e56c00;
    transform: translateY(-1px); 
}

.fc .fc-day-today {
    background-color: #fff8f0 !important;
}

.fc-event {
    border: none !important;
    background-color: #ff7a00 !important;
    padding: 3px 5px !important;
    border-radius: 4px !important; 
}

.fc-event-title {
    font-weight: 500 !important;
}

.fc-scrollgrid-sync-inner {
    padding: 8px 0;
}

.fc-col-header-cell {
    background-color: #fff8f0;
}

#Popupwrap, #Popupwrap1, #Popupwraperror1 {
    display: none;
}

.popup #Popupwrap, .popup #Popupwrap1, .popuperror #Popupwraperror1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(3px); 
}

.popup #Popup, .popup #Popup1, .popuperror #Popuperror1 {
    width: 400px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: popUp 0.3s ease;
    text-align: center;
    position: relative;
}

#Popup span, #Popup1 span, #Popuperror1 span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    display: block;
    line-height: 1.5;
}

#Popup button, #Popup1 button, #Popuperror1 button {
    padding: 12px 30px; 
    background-color: #ff7a00;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 6px rgba(255, 122, 0, 0.2);
}

#Popup button:hover, #Popup1 button:hover, #Popuperror1 button:hover {
    background-color: #e56c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(255, 122, 0, 0.3);
}