main {
    position: relative;
}

h2 {
    margin-top: 30px;
    font-weight: 500;
    text-align: center;
    font-size: 1.4rem;
}

#diagnosis-no-form {
    margin: 0 auto;
    width: 70%;
}

.share-link-container {
    border-radius: 2px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    width: 90%;
    height: 35px;
    position: relative;
    border: 1px solid #BBB;
}

.share-link{
    border: none;
    outline: none;
    flex: 1;
    padding: 5px;
    font-size: 1.1rem;
    border: 1px solid #DDD;
}

.copy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFF;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.copy-icon {
    font-size: 20px !important;
}

.copied {
    display: none;
    position: absolute;
    top: -30px;
    right: 0;
    background-color: #3D3D3D;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#share-modal {
    position: absolute;
    width: 320px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFFFE0;
    border-radius: 20px;
    border: 3px solid #3D3D3D;
    padding: 20px;
    opacity: 0.97;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.error {
    position: absolute;
    top: -22px;
    left: 0;
    background-color: rgba(245, 130, 32, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

input.required {
    border: 2px solid rgba(245, 130, 32, 0.7);
    background-color: rgba(245, 130, 32, 0.3);
}

.button-nomal {
    display: inline-block;
    color: #3D3D3D;
    border-radius: 50px;
    padding: 5px 0.8rem;
    text-align: center;
    text-decoration: none;
    border: 1px solid #3D3D3D;
    font-weight: 300;
    cursor: pointer;
}